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