Structure API › Brackets
GET /bracket-nodes
Returns all bracket nodes. A bracket node represents a match and some extra data.
Resource URL
https://api.toornament.com/organizer/v2/bracket-nodes
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
nodes
unit. The size of the range can not exceed 128. (see Pagination)Example: nodes=0-127
Query Parameters
- tournament_idsarray
A list of tournament ids to filter.
Example: 618965416546776434,618975467354349191
- stage_idsarray
A list of stage ids to filter.
Example: 618965765764577354,618931468547654563
- stage_numbersarray
A list of stage numbers to filter.
Example: 1,3
- group_idsarray
A list of group ids to filter.
Example: 618943519431786343,618965178941654763
- group_numbersarray
A list of group numbers to filter.
Example: 3,4
- round_idsarray
A list of round ids to filter.
Example: 618943519431786343,618965178941654763
- round_numbersarray
A list of round numbers to filter.
Example: 1,2
- min_depthinteger
A minimum depth to filter.
- max_depthinteger
A maximal depth to filter.
Request Body
This endpoint does not require a request body.
Response
[206] Bracket nodes retrieved.
Example
[ { "id": "618954615761465416", "tournament_id": "378426939508809728", "stage_id": "618983668512789184", "group_id": "618985165765456465", "round_id": "618965146546456651", "number": 2, "type": "duel", "status": "pending", "scheduled_datetime": "2015-12-31T00:00:00+00:00", "played_at": "2015-12-31T00:00:00+00:00", "depth": 2, "branch": "lb", "opponents": [ { "number": 1, "position": 1, "result": "win", "rank": 3, "forfeit": false, "score": 15, "source_type": "winner", "source_node_id": "618946514654565656", "participant": { "id": "375143143408309123", "name": "Northmen", "custom_user_identifier": "acme:account:1234", "custom_fields": {} } } ] } ]
Structure (collection)
- idstring
The id of the bracket node and the match (they both share the same id).
Example: "618954615761465416"
- tournament_idstring
The id of the tournament that contains this bracket node.
Example: "378426939508809728"
- stage_idstring
The id of the stage that contains this bracket node.
Example: "618983668512789184"
- group_idstring
The id of the group that contains this bracket node.
Example: "618985165765456465"
- round_idstring
The id of the round that contains this bracket node.
Example: "618965146546456651"
- numberinteger
The match number (a relative identifier within a round).
Example: 2
- typestring
The match type.
Possible values: duel, ffa, bye
- statusstring
The status of the match.
Possible values: pending, running, completed
- scheduled_datetimestring|null
The scheduled date of the match in RFC 3339 (combined date, time and utc offset).
Format: datetime
Example: "2015-12-31T00:00:00+00:00"
- played_atstring|null
The timestamp on which the match was played (a result was provided) in RFC 3339 (combined date, time and utc offset).
Format: datetime
Example: "2015-12-31T00:00:00+00:00"
- depthinteger
The depth of the node in the bracket.
Example: 2
- branchstring|null
The core branch of the node in the bracket.
Possible values: wb, lb, gf
- opponentsarray[object]
List of match opponents.