Tournaments players registration
- For tournaments with a participation scope of ‘PRIVATE’, the player’s participation is not automatic and requires registration.
- x-auth-token header is required
Request (POST)
/tournaments/{version}/{brand_id}/players/register
Headers
‘x-auth-token: player_login_token’
‘Content-Type: application/json’
Request body:
{
"tournament_id": "8c6bdd93-bb33-4626-b9b8-9b4c6820603d",
"player_registrations": [{}]
}Response
Status 200
{
"data":
{
"total" : 1, // Number of successfuly registered players
"message" : "Player registered successfully for tournament" // Result message
}
}Status 400 (Tournament not found)
{
"total" : 0,
"data" : null,
"message" : "tournament not found"
}