aboutsummaryrefslogtreecommitdiff
path: root/docs/swagger.json
diff options
context:
space:
mode:
Diffstat (limited to 'docs/swagger.json')
-rw-r--r--docs/swagger.json34
1 files changed, 33 insertions, 1 deletions
diff --git a/docs/swagger.json b/docs/swagger.json
index 03a2592..861610b 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -10,7 +10,7 @@
10 }, 10 },
11 "version": "1.0" 11 "version": "1.0"
12 }, 12 },
13 "host": "localhost:4000/api", 13 "host": "lp.ardapektezol.com/api",
14 "basePath": "/v1", 14 "basePath": "/v1",
15 "paths": { 15 "paths": {
16 "/demo": { 16 "/demo": {
@@ -145,6 +145,7 @@
145 "items": { 145 "items": {
146 "type": "file" 146 "type": "file"
147 }, 147 },
148 "collectionFormat": "csv",
148 "description": "Demos", 149 "description": "Demos",
149 "name": "demos", 150 "name": "demos",
150 "in": "formData", 151 "in": "formData",
@@ -462,6 +463,23 @@
462 } 463 }
463 } 464 }
464 }, 465 },
466 "models.RankingsResponse": {
467 "type": "object",
468 "properties": {
469 "rankings_mp": {
470 "type": "array",
471 "items": {
472 "$ref": "#/definitions/models.UserRanking"
473 }
474 },
475 "rankings_sp": {
476 "type": "array",
477 "items": {
478 "$ref": "#/definitions/models.UserRanking"
479 }
480 }
481 }
482 },
465 "models.RecordRequest": { 483 "models.RecordRequest": {
466 "type": "object", 484 "type": "object",
467 "required": [ 485 "required": [
@@ -505,6 +523,20 @@
505 }, 523 },
506 "records": {} 524 "records": {}
507 } 525 }
526 },
527 "models.UserRanking": {
528 "type": "object",
529 "properties": {
530 "total_score": {
531 "type": "integer"
532 },
533 "user_id": {
534 "type": "string"
535 },
536 "username": {
537 "type": "string"
538 }
539 }
508 } 540 }
509 } 541 }
510} \ No newline at end of file 542} \ No newline at end of file