aboutsummaryrefslogtreecommitdiff
path: root/docs/swagger.json
diff options
context:
space:
mode:
Diffstat (limited to 'docs/swagger.json')
-rw-r--r--docs/swagger.json43
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/swagger.json b/docs/swagger.json
index 48e337f..3f7deed 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -170,6 +170,46 @@
170 } 170 }
171 } 171 }
172 }, 172 },
173 "/games/{gameid}/maps": {
174 "get": {
175 "description": "Get maps from the specified game id.",
176 "produces": [
177 "application/json"
178 ],
179 "tags": [
180 "games \u0026 chapters"
181 ],
182 "parameters": [
183 {
184 "type": "integer",
185 "description": "Game ID",
186 "name": "gameid",
187 "in": "path",
188 "required": true
189 }
190 ],
191 "responses": {
192 "200": {
193 "description": "OK",
194 "schema": {
195 "allOf": [
196 {
197 "$ref": "#/definitions/models.Response"
198 },
199 {
200 "type": "object",
201 "properties": {
202 "data": {
203 "$ref": "#/definitions/handlers.ChaptersResponse"
204 }
205 }
206 }
207 ]
208 }
209 }
210 }
211 }
212 },
173 "/login": { 213 "/login": {
174 "get": { 214 "get": {
175 "description": "Get (redirect) login page for Steam auth.", 215 "description": "Get (redirect) login page for Steam auth.",
@@ -1877,6 +1917,9 @@
1877 "id": { 1917 "id": {
1878 "type": "integer" 1918 "type": "integer"
1879 }, 1919 },
1920 "is_disabled": {
1921 "type": "boolean"
1922 },
1880 "name": { 1923 "name": {
1881 "type": "string" 1924 "type": "string"
1882 } 1925 }