Skip to content

Get all courts from all host clubs

GET
/api/v1/tournaments/{id}/courts
curl --request GET \
--url https://internal.myscore.live/api/v1/api/v1/tournaments/trn_abc123/courts

Public endpoint. Returns the union of courts across every host club attached to the tournament.

id
required
string
Example
trn_abc123

Tournament ID

List of courts

Media type application/json
Array<object>
object
id
required

Court ID

string
name
required

Court name

string
clubId
required

Club ID

string
surface

Surface type

string
nullable
Allowed values: clay hard grass indoor
createdAt
required

Record creation timestamp

string format: date-time
updatedAt
required

Record last update timestamp

string format: date-time
Example
[
{
"id": "crt_abc123",
"name": "Center Court",
"clubId": "club_abc123",
"surface": "clay",
"createdAt": "2024-08-15T10:30:00.000Z",
"updatedAt": "2024-09-01T14:20:00.000Z"
}
]

Tournament not found