feat: implement battle replay controller, service, and routes with Swagger documentation
Build and Release / release (push) Successful in 3m2s
Build and Release / release (push) Successful in 3m2s
This commit is contained in:
@@ -443,6 +443,54 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/battle-replays/geometries": {
|
||||
"get": {
|
||||
"description": "Get battle replays grouped by geometry IDs",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"BattleReplays"
|
||||
],
|
||||
"summary": "Get battle replays by geometry IDs",
|
||||
"parameters": [
|
||||
{
|
||||
"minItems": 1,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"collectionFormat": "csv",
|
||||
"name": "geometry_ids",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_response.CommonResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_response.CommonResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_response.CommonResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/battle-replays/geometry/{geometryId}": {
|
||||
"get": {
|
||||
"description": "Get all battle replays associated with a specific geometry",
|
||||
|
||||
Reference in New Issue
Block a user