GET/tournaments/:id/matches/:matchId
Also known as: participants, games
This endpoint allows you to retrieve detailed information about a specific match within a tournament.
This endpoint is useful for getting up-to-date data on match status, scores, and participating players or teams.
entries
Section titled “entries”The structure of the entries field can vary depending on the type of tournament running.
Singles Tournament
Section titled “Singles Tournament”For a Singles tournament it would appear as follows:
"entries": [ { "id": "05-2553", "name": "Helmut Poppen", "entries": [ { "id": "05-2553", "name": "Helmut Poppen" } ] }, { "id": "11-2482", "name": "Isabel Wagner", "entries": [ { "id": "11-2482", "name": "Isabel Wagner" } ] }],Teams tournament
Section titled “Teams tournament”For a structiure for a fixed team tournament looks quite similar:
"entries": [{ "id": "05-2553_05-4357", "name": "Helmut Poppen / Sophia Poppen", "entries": [ { "id": "05-2553", "name": "Helmut Poppen" }, { "id": "05-4357", "name": "Sophia Poppen" } ] }, { "id": "05-9012_05-9876", "name": "Caroline Conrad / Andrei Andros", "entries": [ { "id": "05-9876", "name": "Caroline Conrad" }, { "id": "05-9012", "name": "Andrei Andros" } ] }],Variable Teams Tournament
Section titled “Variable Teams Tournament”We removed the variable teams, so the responses are uniform now.
Valid state values:
Section titled “Valid state values:”open: Match is waiting to be announcedpaused: Match is disabled (on pause)skipped: Match is skipped (e.g. Entry left tournament)running: Match is runningplayed: Match is finished / playedplanned: Match is planned / awaiting announcementincomplete: Match is waiting for entries to be assignedbye: Match is a bye (e.g. in elimination stage)
courtIds
Section titled “courtIds”The courts (tables) the match is played on. While the match is running this is the current
court; after the result was saved it keeps the court(s) the match was played on, so the
assignment stays available for finished matches. The array is empty while the match has not
been announced yet, or when it was never assigned to a court. Most modes use one court per
match; some modes may play a match across several courts.
encounters / score
Section titled “encounters / score”The encounters array stores the detailed result of the match. It consists of 3 nested arrays:
1) Encounters: For league modes like Single/Double/Single every entry represents an encounter 2) Sets: This is an array of winning sets 3) Score: The actual result of an match is stored hereSimple Example: just one set
"encounters": [ [ [7, 5] ]],"displayScore": [7, 5],More complex: Best of 3
"encounters": [ [ [7, 5], [6, 7], [2, 7] ]],"displayScore": [1, 3]Max. Complexity: 3 Encounters - Best of 3, Best of one, Best of 5
"encounters": [ [ [7, 5], [6, 7], [2, 7] ], [2, 7] ], [ [6, 7], [7, 5], [2, 7], [7, 5], [2, 7], ],],"displayScore": [0, 3]Parameters
Section titled “Parameters”| Parameter | In | Example |
|---|---|---|
id |
path | tio:4AHchFkVAecs2 |
matchId |
path | tio:jl4V1KG3Djl4u |
Responses
Section titled “Responses”{ "id": "tio:dWT5oSbv2kYQg", "entries": [ { "id": "05-2553_05-4357", "name": "Helmut Poppen / Sophia Poppen" }, { "id": "05-9012_05-9876", "name": "Caroline Conrad / Andrei Andros" } ], "state": "running", "encounters": [], "isLiveResult": true,
"disciplineId": "tio:JHriFxv2ZBCYD", "disciplineName": "[D1] Discipline 1", "roundId": "tio:S0U825dvJ8v5a", "roundName": "Round 1", "groupId": "tio:bEC14gDhxf5pT", "groupName": "Qualification",
"courtIds": ["tio:dLUOkXt5oHEvq"],
"startTime": "2024-07-03T14:39:16.575Z"}{ "id": "tio:dWT5oSbv2kYQg", "entries": [ { "id": "05-2553_05-4357", "name": "Helmut Poppen / Sophia Poppen", "entries": [ { "id": "05-2553", "name": "Helmut Poppen" }, { "id": "05-4357", "name": "Sophia Poppen" } ] }, { "id": "05-9012_05-9876", "name": "Caroline Conrad / Andrei Andros", "entries": [ { "id": "05-9876", "name": "Caroline Conrad" }, { "id": "05-9012", "name": "Andrei Andros" } ] } ], "state": "played", "encounters": [ [ [ 0, 1 ] ] ], "displayScore": [ 0, 1 ],
"disciplineId": "tio:JHriFxv2ZBCYD", "disciplineName": "[D1] Discipline 1", "roundId": "tio:S0U825dvJ8v5a", "roundName": "Round 1", "groupId": "tio:bEC14gDhxf5pT", "groupName": "Qualification",
"courtIds": ["tio:dLUOkXt5oHEvq"],
"startTime": "2024-07-03T14:39:16.575Z", "endTime": "2024-08-09T18:09:36.210Z"}