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}/register
Request body:
{
"tournament_id": "123e4567-e89b-12d3-a456-426614174000", // Actual tournament ID, required
"points_multiplier": "1.5", // Not required, currently not in use
"metadata": { // Additional ke-value pairs object, not required
"source": "mobile_app",
"referral_code": "ABCD1234"
}
}Response
Status 200
{
"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"
}