aboutsummaryrefslogtreecommitdiff
path: root/docs/swagger.json
diff options
context:
space:
mode:
Diffstat (limited to 'docs/swagger.json')
-rw-r--r--docs/swagger.json35
1 files changed, 33 insertions, 2 deletions
diff --git a/docs/swagger.json b/docs/swagger.json
index 861610b..82fb64c 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -1,7 +1,7 @@
1{ 1{
2 "swagger": "2.0", 2 "swagger": "2.0",
3 "info": { 3 "info": {
4 "description": "Backend API endpoints for Least Portals Database.", 4 "description": "Backend API endpoints for the Least Portals Database.",
5 "title": "Least Portals Database API", 5 "title": "Least Portals Database API",
6 "contact": {}, 6 "contact": {},
7 "license": { 7 "license": {
@@ -141,11 +141,17 @@
141 "summary": "Post record with demo of a specific map.", 141 "summary": "Post record with demo of a specific map.",
142 "parameters": [ 142 "parameters": [
143 { 143 {
144 "type": "string",
145 "description": "JWT Token",
146 "name": "Authorization",
147 "in": "header",
148 "required": true
149 },
150 {
144 "type": "array", 151 "type": "array",
145 "items": { 152 "items": {
146 "type": "file" 153 "type": "file"
147 }, 154 },
148 "collectionFormat": "csv",
149 "description": "Demos", 155 "description": "Demos",
150 "name": "demos", 156 "name": "demos",
151 "in": "formData", 157 "in": "formData",
@@ -223,6 +229,15 @@
223 "application/json" 229 "application/json"
224 ], 230 ],
225 "summary": "Get profile page of session user.", 231 "summary": "Get profile page of session user.",
232 "parameters": [
233 {
234 "type": "string",
235 "description": "JWT Token",
236 "name": "Authorization",
237 "in": "header",
238 "required": true
239 }
240 ],
226 "responses": { 241 "responses": {
227 "200": { 242 "200": {
228 "description": "OK", 243 "description": "OK",
@@ -267,6 +282,13 @@
267 "parameters": [ 282 "parameters": [
268 { 283 {
269 "type": "string", 284 "type": "string",
285 "description": "JWT Token",
286 "name": "Authorization",
287 "in": "header",
288 "required": true
289 },
290 {
291 "type": "string",
270 "description": "Country Code [XX]", 292 "description": "Country Code [XX]",
271 "name": "country_code", 293 "name": "country_code",
272 "in": "query", 294 "in": "query",
@@ -314,6 +336,15 @@
314 "application/json" 336 "application/json"
315 ], 337 ],
316 "summary": "Update profile page of session user.", 338 "summary": "Update profile page of session user.",
339 "parameters": [
340 {
341 "type": "string",
342 "description": "JWT Token",
343 "name": "Authorization",
344 "in": "header",
345 "required": true
346 }
347 ],
317 "responses": { 348 "responses": {
318 "200": { 349 "200": {
319 "description": "OK", 350 "description": "OK",