forked from Shuffle/openapi-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
happyfox.yaml
167 lines (167 loc) · 11.9 KB
/
happyfox.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
basePath: /
components:
securitySchemes:
BasicAuth:
scheme: basic
type: http
info:
contact:
email: [email protected]
name: '@frikkylikeme'
url: https://twitter.com/frikkylikeme
description: Happyfox OpenAPI integration based on https://www.happyfox.com/developers/api/1.1/
title: HappyFox
version: '1.0'
x-categories:
- Ticketing
- Ticket system
x-logo: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK4AAACuCAYAAACvDDbuAAAVoElEQVR4Xu2deZBc1XWHv+lZu6dn6dE62pAQGJCQIIWJXRSKHQIiLAYHAxWwgVABscmQAPkjFCABdhLjLI5jCKKwMIvjlCukzCIE2gANmyFCiQQIgRBIs0mavaenZ59Onfe6pdYwo17m9Vumz6tSSTDvLu93vjl93rnn3i6IxWIx9FIFPKZAgYLrMYvpdA0FFFwFwZMKKLieNJtOWsFVBjypgILrSbPppBVcZcCTCii4njSbTlrBVQY8qYCC60mz6aQVXGXAkwoouJ40m05awVUGPKmAgutJs+mkFVxlwJMKKLieNJtOWsFVBjypgILrSbPppBVcZcCTCii4njSbTlrBVQY8qYCC60mz6aSdBTc2AiNDphUKfOArlH+oVdyqgGwIHxkGsZvYqbAICpyxl3PgRpphz39BU50pRGAmzDgDp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RPzWYmedtGwc3W9Ebo8Gw869CQeS+SNZj3EFRfoFmDzNVDwc1CtCNNYtD1BtTfD1116fUkWYOpl8Ps++ILCuk107uOVkDBtYKI/i+h8adw6Inxsw4SGpSGzKzBjJuheJoVI+dtHwquVaYf6YFDz5hnmvWNEToEl8Dch8yib5ccR2/VozvRj4Jrpeqyw6L7bdh/H4TrzFN1Cn0wRUKDe6H8VF1QsEhvBdciIY/qpn+/eaJOx4sw/UYza1BUnYuR8rZPBTdXppesgwBctjAvNi/mSsbx+lVw7VZcx7NEAQXXEhm1E7sVUHDtVlzHs0QBBdcSGbUTuxVQcO1WXMezRAEF1xIZtRO7FVBw7VZcx7NEAQXXEhm1E7sVUHDtVlzHs0QBBdcSGbUTuxVQcO1WXMezRAEF1xIZtRO7FVBw7VZcx7NEAQXXEhm1E7sVUHDtVlzHs0QBBdcSGbUTuxVQcO1WXMezRAEF1xIZtRO7FVBw7VZcx7NEAQXXEhm1E7sVUHDtVlzHs0SB/wdBcBWNHeq/4QAAAABJRU5ErkJggg==
openapi: 3.0.0
paths:
/api/1.1/json/tickets:
get:
description: ''
operationId: Read_all_tickets
parameters:
- description: Generated by shuffler.io OpenAPI
in: query
name: size
required: true
schema:
type: string
- description: Generated by shuffler.io OpenAPI
in: query
name: page
required: true
schema:
type: string
requestBody:
content: {}
responses:
default:
content:
text/plain:
schema:
example: ''
type: string
description: default
summary: Read all tickets
/api/1.1/json/tickets/:
get:
description: ''
operationId: Search_tickets
parameters:
- description: Generated by shuffler.io OpenAPI
in: query
name: q
required: true
schema:
type: string
requestBody:
content: {}
responses:
default:
content:
text/plain:
schema:
example: ''
type: string
description: default
summary: Search tickets
post:
description: ''
operationId: Create_ticket
parameters:
- description: Generated by shuffler.io OpenAPI
example: " {\n \"subject\": \"${subject}\",\n \"text\": \"\
${text}\",\n \"category\": 1,\n \"priority\": 2,\n \
\ \"user\": ${userid}\n }"
in: body
multiline: true
name: body
required: false
schema:
type: string
requestBody:
content:
example:
example: " {\n \"subject\": \"${subject}\",\n \"text\"\
: \"${text}\",\n \"category\": 1,\n \"priority\": 2,\n\
\ \"user\": ${userid}\n }"
description: Generated by Shuffler.io
required: false
responses:
default:
content:
text/plain:
schema:
example: ''
type: string
description: default
summary: Create ticket
/api/1.1/json/tickets/{ticketid}:
get:
description: ''
operationId: Get_ticket
parameters:
- description: Generated by shuffler.io OpenAPI
in: path
name: ticketid
required: true
schema:
type: string
requestBody:
content: {}
responses:
default:
content:
text/plain:
schema:
example: ''
type: string
description: default
summary: Get ticket
/api/1.1/json/tickets/{ticketid}/staff_update/:
post:
description: ''
operationId: Add_staff_update
parameters:
- description: Generated by shuffler.io OpenAPI
in: path
name: ticketid
required: true
schema:
type: string
- description: Generated by shuffler.io OpenAPI
example: " {\n \"assignee\" : ${assignee},\n \"due_date\"\
\ : \"${due_date}\",\n \"notify_user\" : 1,\n \"priority\"\
\ : 1,\n \"staff\" : 13,\n \"status\" : 2,\n \"text\"\
\ : \"${text}\",\n \"time_spent\" : 2\n }"
in: body
multiline: true
name: body
required: false
schema:
type: string
requestBody:
content:
example:
example: " {\n \"assignee\" : ${assignee},\n \"due_date\"\
\ : \"${due_date}\",\n \"notify_user\" : 1,\n \"priority\"\
\ : 1,\n \"staff\" : 13,\n \"status\" : 2,\n \"\
text\" : \"${text}\",\n \"time_spent\" : 2\n }"
description: Generated by Shuffler.io
required: false
responses:
default:
content:
text/plain:
schema:
example: ''
type: string
description: default
summary: Add staff update
schemes:
- ''
servers:
- url: ''