Tournament Players
GET/api/v1/tournaments/:tournament_id/players
List all players in tournament
This endpoint allows you to retrieve list of players in the tournament.
Request
GET
/api/v1/tournaments/dutchopen24/playerscurl https://public-api.dartconnect.com/api/v1/tournaments/dutchopen24/players \
-H "Authorization: Bearer {token}"
Response
{
"data": [
{
"id": 787668,
"date_of_birth": "1999-12-12",
"email": "email@dartconnect.com",
"first_name": "A",
"gender": "M",
"iso3_country": "NLD",
"last_name": "P",
"updated_at": "2024-02-04T12:24:56.000000Z"
},
{
"id": 787674,
...
},
]
}
POST/api/v1/tournaments/:tournament_id/players
Create an tournament player
This endpoint allows you to create a tournament player.
Required attributes
- Name
first_name- Type
- string
- Description
Provide first_name
- Name
last_name- Type
- string
- Description
Provide last_name
- Name
email- Type
- string
- Description
Provide email
- Name
gender- Type
- string
- Description
Provide gender
- Name
org_player_id- Type
- string
- Description
Provide org_player_id
- Name
iso3_country- Type
- string
- Description
Provide iso3_country
- Name
chalkboard_name- Type
- string
- Description
Provide chalkboard_name
- Name
date_of_birth- Type
- string
- Description
Provide date_of_birth
Request
POST
/api/v1/tournaments/dutchopen24/playerscurl https://public-api.dartconnect.com/api/v1/tournaments/dutchopen24/events \
-H "Authorization: Bearer {token}"
Response
{
}