Viewer API › Match Games Legacy
LegacyGET /tournaments/{tournament_id}/matches/{match_id}/games/{number}
This endpoint is in legacy mode. Access will soon be deprecated. It is therefore advised to use another endpoint when possible.
Returns detailed information about one match game.
Resource URL
https://api.toornament.com/viewer/v2/tournaments/{tournament_id}/matches/{match_id}/games/{number}
HTTP headers
- X-Api-Keystring
API key of your application (see Authentication)
Path parameters
- tournament_idstring
The id of the tournament you want to retrieve data about.
- match_idstring
The id of the match to retrieve.
- numberstring
The relative identifier of the match game to retrieve.
Query Parameters
This endpoint does not have any query parameters.
Request Body
This endpoint does not require a request body.
Response
[200] Game retrieved.
Example
{ "number": 1, "type": "duel", "status": "pending", "opponents": [ { "number": 1, "position": 1, "result": "win", "rank": 3, "forfeit": false, "score": 15, "properties": {} } ], "properties": {} }
Structure (object)
- numberinteger
A relative identifier between 1 and the total number of games, to identify the game within the match.
Example: 1
- typestring
The match game type.
Possible values: duel, ffa
- statusstring
The status of the match game.
Possible values: pending, running, completed
- opponentsarray[object]
List of match game opponents.
- propertiesobject
Discipline features that define the specificities of the match game (map, gamemode...).
Example: {}