Tournament API › Final Standings
GET /standing-items
Returns a list of final standing items.
Resource URL
https://api.toornament.com/organizer/v2/standing-items
HTTP headers
- X-Api-Keystring
API key of your application (see Authentication)
- Authorizationstring
Access token with
organizer:result
scope (see Authorization) - Rangestring
A range of requested items using the
items
unit. The size of the range can not exceed 50. (see Pagination)Example: items=0-49
Query Parameters
- tournament_idsarray
Only return items for the given list of ids.
Example: 378426939508809728,534138941862841533
- user_idsarray
One or several player user ids involved in the standings to filter.
Example: 475141143408399456,735147043408391234
- team_idsarray
One or several team ids involved in the standings to filter.
Example: 561714159547269773,255149043401714321
- custom_user_identifiersarray
A list of external custom user identifiers.
Example: acme:account:1234,acme:account:1235
- participant_idsarray
One or several participant ids involved in the standings to filter.
Example: 618965416546776434,618975467354349191
- min_rankinteger
A minimal rank to filter.
- max_rankinteger
A maximal rank to filter.
Request Body
This endpoint does not require a request body.
Response
[206] Standing items retrieved.
Example
[ { "id": "378426939508809728", "tournament_id": "378426939508809728", "participant": { "id": "375143143408309123", "name": "Jon Snow", "custom_user_identifier": "acme:account:1234", "custom_fields": {} }, "rank": 3, "position": 4 } ]
Structure (collection)
- idstring
A unique identifier for the standing item.
Example: "378426939508809728"
- tournament_idstring
The id of the tournament.
Example: "378426939508809728"
- participantobject|null
The participant identified with this standing item.
- rankinteger
The ranking of the participant in the standing. Multiple participants can share the same rank if they are tied after involving all configured tiebreakers.
Example: 3
- positioninteger
A position used for presentation purposes. It is always unique within the same standing.
Example: 4
POST /standing-items
Creates a new standing item. The position is recalculated according to the rank.
Resource URL
https://api.toornament.com/organizer/v2/standing-items
HTTP headers
- X-Api-Keystring
API key of your application (see Authentication)
- Authorizationstring
Access token with
organizer:result
scope (see Authorization)
Query Parameters
This endpoint does not have any query parameters.
Request Body
Standing item data.
Example
{ "tournament_id": "378426939508809728", "participant_id": "375143143408309123", "rank": 3, "position": 4 }
Structure (object)
- tournament_idstring
The id of the tournament.
Example: "378426939508809728"
- participant_idstring|null
The id of the participant.
Example: "375143143408309123"
- rankinteger
The ranking of the participant in the standing. Multiple participants can share the same rank if they are tied after involving all configured tiebreakers.
Example: 3
- positioninteger
Optional
A position used for presentation purposes. It is always unique within the same standing.
Example: 4
Response
[201] Success
Example
{ "id": "378426939508809728", "tournament_id": "378426939508809728", "participant": { "id": "375143143408309123", "name": "Jon Snow", "custom_user_identifier": "acme:account:1234", "custom_fields": {} }, "rank": 3, "position": 4 }
Structure (object)
- idstring
A unique identifier for the standing item.
Example: "378426939508809728"
- tournament_idstring
The id of the tournament.
Example: "378426939508809728"
- participantobject|null
The participant identified with this standing item.
- rankinteger
The ranking of the participant in the standing. Multiple participants can share the same rank if they are tied after involving all configured tiebreakers.
Example: 3
- positioninteger
A position used for presentation purposes. It is always unique within the same standing.
Example: 4
GET /standing-items/{id}
Retrieve a single standing item.
Resource URL
https://api.toornament.com/organizer/v2/standing-items/{id}
HTTP headers
- X-Api-Keystring
API key of your application (see Authentication)
- Authorizationstring
Access token with
organizer:result
scope (see Authorization)
Path parameters
- idstring
The id of the standing item to retrieve.
Query Parameters
This endpoint does not have any query parameters.
Request Body
This endpoint does not require a request body.
Response
[200] Standing item retrieved.
Example
{ "id": "378426939508809728", "tournament_id": "378426939508809728", "participant": { "id": "375143143408309123", "name": "Jon Snow", "custom_user_identifier": "acme:account:1234", "custom_fields": {} }, "rank": 3, "position": 4 }
Structure (object)
- idstring
A unique identifier for the standing item.
Example: "378426939508809728"
- tournament_idstring
The id of the tournament.
Example: "378426939508809728"
- participantobject|null
The participant identified with this standing item.
- rankinteger
The ranking of the participant in the standing. Multiple participants can share the same rank if they are tied after involving all configured tiebreakers.
Example: 3
- positioninteger
A position used for presentation purposes. It is always unique within the same standing.
Example: 4
PATCH /standing-items/{id}
Updates the standing item with the given id. The position is recalculated according to the rank.
Resource URL
https://api.toornament.com/organizer/v2/standing-items/{id}
HTTP headers
- X-Api-Keystring
API key of your application (see Authentication)
- Authorizationstring
Access token with
organizer:result
scope (see Authorization)
Path parameters
- idstring
The id of the standing item to retrieve.
Query Parameters
This endpoint does not have any query parameters.
Request Body
Standing item data.
Example
{ "rank": 3, "position": 4, "participant_id": "375143143408309123" }
Structure (object)
- rankinteger
Optional
The ranking of the participant in the standing. Multiple participants can share the same rank if they are tied after involving all configured tiebreakers.
Example: 3
- positioninteger
Optional
A position used for presentation purposes. It is always unique within the same standing.
Example: 4
- participant_idstring|null
Optional
The id of the participant.
Example: "375143143408309123"
Response
[200] Standing item update.
Example
{ "id": "378426939508809728", "tournament_id": "378426939508809728", "participant": { "id": "375143143408309123", "name": "Jon Snow", "custom_user_identifier": "acme:account:1234", "custom_fields": {} }, "rank": 3, "position": 4 }
Structure (object)
- idstring
A unique identifier for the standing item.
Example: "378426939508809728"
- tournament_idstring
The id of the tournament.
Example: "378426939508809728"
- participantobject|null
The participant identified with this standing item.
- rankinteger
The ranking of the participant in the standing. Multiple participants can share the same rank if they are tied after involving all configured tiebreakers.
Example: 3
- positioninteger
A position used for presentation purposes. It is always unique within the same standing.
Example: 4
DELETE /standing-items/{id}
Deletes a standing item identified by the given id.
Resource URL
https://api.toornament.com/organizer/v2/standing-items/{id}
HTTP headers
- X-Api-Keystring
API key of your application (see Authentication)
- Authorizationstring
Access token with
organizer:result
scope (see Authorization)
Path parameters
- idstring
The id of the standing item to retrieve.
Query Parameters
This endpoint does not have any query parameters.
Request Body
This endpoint does not require a request body.