aboutsummaryrefslogtreecommitdiff
path: root/docs/swagger.yaml
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-10-09 19:02:39 +0300
committerGitHub <noreply@github.com>2023-10-09 19:02:39 +0300
commit1f8611153233516c9e18fc12b3fac9bae904804b (patch)
tree950d4c1546f6d71b12093a0543a9dfa00770688f /docs/swagger.yaml
parentfeat: add is_disabled to chapters maps (#112) (diff)
downloadlphub-1f8611153233516c9e18fc12b3fac9bae904804b.tar.gz
lphub-1f8611153233516c9e18fc12b3fac9bae904804b.tar.bz2
lphub-1f8611153233516c9e18fc12b3fac9bae904804b.zip
feat: new endpoint for getting every map for a game (#114)
Former-commit-id: 708f57ef08abea7f2b0549e8dad75096fd315558
Diffstat (limited to 'docs/swagger.yaml')
-rw-r--r--docs/swagger.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index b34a80c..d40b847 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -409,6 +409,8 @@ definitions:
409 properties: 409 properties:
410 id: 410 id:
411 type: integer 411 type: integer
412 is_disabled:
413 type: boolean
412 name: 414 name:
413 type: string 415 type: string
414 type: object 416 type: object
@@ -573,6 +575,29 @@ paths:
573 type: object 575 type: object
574 tags: 576 tags:
575 - games & chapters 577 - games & chapters
578 /games/{gameid}/maps:
579 get:
580 description: Get maps from the specified game id.
581 parameters:
582 - description: Game ID
583 in: path
584 name: gameid
585 required: true
586 type: integer
587 produces:
588 - application/json
589 responses:
590 "200":
591 description: OK
592 schema:
593 allOf:
594 - $ref: '#/definitions/models.Response'
595 - properties:
596 data:
597 $ref: '#/definitions/handlers.ChaptersResponse'
598 type: object
599 tags:
600 - games & chapters
576 /login: 601 /login:
577 get: 602 get:
578 consumes: 603 consumes: