diff options
Diffstat (limited to 'docs/swagger.json')
| -rw-r--r-- | docs/swagger.json | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/docs/swagger.json b/docs/swagger.json index 22e30d2..6fbe02e 100644 --- a/docs/swagger.json +++ b/docs/swagger.json | |||
| @@ -1179,29 +1179,21 @@ | |||
| 1179 | "handlers.ProfileRecords": { | 1179 | "handlers.ProfileRecords": { |
| 1180 | "type": "object", | 1180 | "type": "object", |
| 1181 | "properties": { | 1181 | "properties": { |
| 1182 | "portal2_cooperative": { | 1182 | "category_id": { |
| 1183 | "type": "array", | 1183 | "type": "integer" |
| 1184 | "items": { | 1184 | }, |
| 1185 | "$ref": "#/definitions/handlers.ProfileRecordsDetails" | 1185 | "game_id": { |
| 1186 | } | 1186 | "type": "integer" |
| 1187 | }, | 1187 | }, |
| 1188 | "portal2_singleplayer": { | ||
| 1189 | "type": "array", | ||
| 1190 | "items": { | ||
| 1191 | "$ref": "#/definitions/handlers.ProfileRecordsDetails" | ||
| 1192 | } | ||
| 1193 | } | ||
| 1194 | } | ||
| 1195 | }, | ||
| 1196 | "handlers.ProfileRecordsDetails": { | ||
| 1197 | "type": "object", | ||
| 1198 | "properties": { | ||
| 1199 | "map_id": { | 1188 | "map_id": { |
| 1200 | "type": "integer" | 1189 | "type": "integer" |
| 1201 | }, | 1190 | }, |
| 1202 | "map_name": { | 1191 | "map_name": { |
| 1203 | "type": "string" | 1192 | "type": "string" |
| 1204 | }, | 1193 | }, |
| 1194 | "map_wr_count": { | ||
| 1195 | "type": "integer" | ||
| 1196 | }, | ||
| 1205 | "scores": { | 1197 | "scores": { |
| 1206 | "type": "array", | 1198 | "type": "array", |
| 1207 | "items": { | 1199 | "items": { |
| @@ -1229,7 +1221,10 @@ | |||
| 1229 | "$ref": "#/definitions/handlers.ProfileRankings" | 1221 | "$ref": "#/definitions/handlers.ProfileRankings" |
| 1230 | }, | 1222 | }, |
| 1231 | "records": { | 1223 | "records": { |
| 1232 | "$ref": "#/definitions/handlers.ProfileRecords" | 1224 | "type": "array", |
| 1225 | "items": { | ||
| 1226 | "$ref": "#/definitions/handlers.ProfileRecords" | ||
| 1227 | } | ||
| 1233 | }, | 1228 | }, |
| 1234 | "steam_id": { | 1229 | "steam_id": { |
| 1235 | "type": "string" | 1230 | "type": "string" |