· 2 years ago · Jul 18, 2023, 04:15 PM
1 "name": "offset",
2 "default": 2,
3 "schema": {
4 "type": "integer"
5 },
6 "description": "Offset the result by this many records."
7 },
8 {
9 "in": "query",
10 "name": "limit",
11 "default": 10,
12 "schema": {
13 "type": "integer"
14 },
15 "description": "Return this [integer] amount of records."
16 }
17 ],
18 "responses": {
19 "200": {
20 "description": "A successful response"
21 }
22 }
23 },
24 "post": {
25 "tags": [
26 "database_tab_cols_details"
27 ],
28 "summary": "Create",
29 "requestBody": {
30 "description": "Create new database col detail",
31 "required": true,
32 "content": {
33 "application/json": {
34 "schema": {
35 "type": "object",
36 "properties": {
37 "table_name": {
38 "type": "string"
39 },
40 "column_name": {
41 "type": "string"
42 },
43 "column_description": {
44 "type": "string"
45 }
46 }
47 }
48 }
49 }
50 },
51 "responses": {
52 "201": {
53 "description": "Updated"
54 }
55 }
56 },
57 "patch": {
58 "tags": [
59 "database_tab_cols_details"
60 ],
61 "summary": "Update",
62 "requestBody": {
63 "description": "Update database_tab_cols_details",
64 "required": true,
65 "content": {
66 "application/json": {
67 "schema": {
68 "type": "object",
69 "properties": {
70 "table_name": {
71 "type": "string"
72 },
73 "column_name": {
74 "type": "string"
75 },
76 "column_description": {
77 "type": "string"
78 }
79 }
80 }
81 }
82 }
83 },
84 "responses": {
85 "201": {
86 "description": "Updated"
87 }
88 }
89 },
90 "components": {
91 "responses": null,
92 "UnauthorizedError": {
93 "description": "API key is missing or invalid",
94 "headers": {
95 "WWW_Authenticate": {
96 "schema": {
97 "type": "string"
98 }
99 }
100 }
101 }
102 }
103 },
104 "/error-logs": {
105 "get": {
106 "tags": [
107 "error_logs"
108 ],
109 "description": "Finds Error Logs for application",
110 "summary": "Find",
111 "parameters": [
112 {
113 "in": "query",
114 "name": "error_id",
115 "default": 0,
116 "schema": {
117 "type": "integer"
118 },
119 "description": "Filter on Error Id"
120 },
121 {
122 "in": "query",
123 "name": "application_id",
124 "default": null,
125 "schema": {
126 "type": "integer"
127 },
128 "description": "Filter on Application Id"
129 },
130 {
131 "in": "query",
132 "name": "offset",
133 "default": 0,
134 "schema": {
135 "type": "integer"
136 },
137 "description": "Offset the result by this many records."
138 },
139 {
140 "in": "query",
141 "name": "limit",
142 "default": 10,
143 "schema": {
144 "type": "integer"
145 },
146 "description": "Return this [integer] amount of records."
147 }
148 ],
149 "responses": {
150 "200": {
151 "description": "A successful response"
152 }
153 }
154 },
155 "post": {
156 "tags": [
157 "error_logs"
158 ],
159 "summary": "Create",
160 "requestBody": {
161 "description": "Create new Error Log entry",
162 "required": true,
163 "content": {
164 "application/json": {
165 "schema": {
166 "type": "object",
167 "properties": {
168 "application_id": {
169 "type": "integer"
170 },
171 "error_message": {
172 "type": "string"
173 }
174 }
175 }
176 }
177 }
178 },
179 "responses": {
180 "201": {
181 "description": "Updated"
182 }
183 }
184 },
185 "components": {
186 "responses": null,
187 "UnauthorizedError": {
188 "description": "API key is missing or invalid",
189 "headers": {
190 "WWW_Authenticate": {
191 "schema": {
192 "type": "string"
193 }
194 }
195 }
196 }
197 }
198 },
199 "/faq": {
200 "get": {
201 "tags": [
202 "faq"
203 ],
204 "description": "Finds Frequently Asked Questions",
205 "summary": "Find",
206 "parameters": [
207 {
208 "in": "query",
209 "name": "q_id",
210 "default": null,
211 "schema": {
212 "type": "number"
213 },
214 "description": "Filter on Question ID"
215 },
216 {
217 "in": "query",
218 "name": "offset",
219 "default": 0,
220 "schema": {
221 "type": "integer"
222 },
223 "description": "Offset the result by this many records."
224 },
225 {
226 "in": "query",
227 "name": "limit",
228 "default": 10,
229 "schema": {
230 "type": "integer"
231 },
232 "description": "Return this [integer] amount of records."
233 }
234 ],
235 "responses": {
236 "200": {
237 "description": "A successful response"
238 }
239 }
240 },
241 "post": {
242 "tags": [
243 "faq"
244 ],
245 "summary": "Create",
246 "requestBody": {
247 "description": "Create new question