diff options
Diffstat (limited to 'docs/swagger.yaml')
| -rw-r--r-- | docs/swagger.yaml | 25 |
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: |