diff options
Diffstat (limited to '')
| -rw-r--r-- | docs/swagger.yaml | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/docs/swagger.yaml b/docs/swagger.yaml index db0ab47..76b4e7b 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml | |||
| @@ -93,7 +93,7 @@ definitions: | |||
| 93 | host: lp.ardapektezol.com/api | 93 | host: lp.ardapektezol.com/api |
| 94 | info: | 94 | info: |
| 95 | contact: {} | 95 | contact: {} |
| 96 | description: Backend API endpoints for Least Portals Database. | 96 | description: Backend API endpoints for the Least Portals Database. |
| 97 | license: | 97 | license: |
| 98 | name: GNU General Public License, Version 2 | 98 | name: GNU General Public License, Version 2 |
| 99 | url: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html | 99 | url: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
| @@ -175,8 +175,12 @@ paths: | |||
| 175 | consumes: | 175 | consumes: |
| 176 | - multipart/form-data | 176 | - multipart/form-data |
| 177 | parameters: | 177 | parameters: |
| 178 | - collectionFormat: csv | 178 | - description: JWT Token |
| 179 | description: Demos | 179 | in: header |
| 180 | name: Authorization | ||
| 181 | required: true | ||
| 182 | type: string | ||
| 183 | - description: Demos | ||
| 180 | in: formData | 184 | in: formData |
| 181 | items: | 185 | items: |
| 182 | type: file | 186 | type: file |
| @@ -228,6 +232,12 @@ paths: | |||
| 228 | get: | 232 | get: |
| 229 | consumes: | 233 | consumes: |
| 230 | - application/json | 234 | - application/json |
| 235 | parameters: | ||
| 236 | - description: JWT Token | ||
| 237 | in: header | ||
| 238 | name: Authorization | ||
| 239 | required: true | ||
| 240 | type: string | ||
| 231 | produces: | 241 | produces: |
| 232 | - application/json | 242 | - application/json |
| 233 | responses: | 243 | responses: |
| @@ -252,6 +262,12 @@ paths: | |||
| 252 | post: | 262 | post: |
| 253 | consumes: | 263 | consumes: |
| 254 | - application/json | 264 | - application/json |
| 265 | parameters: | ||
| 266 | - description: JWT Token | ||
| 267 | in: header | ||
| 268 | name: Authorization | ||
| 269 | required: true | ||
| 270 | type: string | ||
| 255 | produces: | 271 | produces: |
| 256 | - application/json | 272 | - application/json |
| 257 | responses: | 273 | responses: |
| @@ -277,6 +293,11 @@ paths: | |||
| 277 | consumes: | 293 | consumes: |
| 278 | - application/json | 294 | - application/json |
| 279 | parameters: | 295 | parameters: |
| 296 | - description: JWT Token | ||
| 297 | in: header | ||
| 298 | name: Authorization | ||
| 299 | required: true | ||
| 300 | type: string | ||
| 280 | - description: Country Code [XX] | 301 | - description: Country Code [XX] |
| 281 | in: query | 302 | in: query |
| 282 | name: country_code | 303 | name: country_code |