CompetitionTeam
Replaces the CompetitionTeam resource.
Replaces the CompetitionTeam resource.
put/competition_teams/{id}
Request
- Base URL: https://api.spash.com
- URL: https://api.spash.com/competition_teams/{id}
- Auth: one of:
- API key in header Authorization
- HTTP bearer
Path parameters
idstring required
CompetitionTeam identifier
Request body
Example request
{
"groupReference": "A",
"competition": "https://example.com/",
"team": "https://example.com/"
}Response
CompetitionTeam resource updated
Example response
{
"groupReference": "A",
"ranking": 1,
"competition": {
"sessionDuration": 3000,
"breakDuration": 300,
"status": "not_played",
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
},
"team": {
"primaryColor": "#FFFFFF",
"secondaryColor": "#FFFFFF",
"playerTeams": [
{
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
}
],
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
},
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
}Changes
No recorded changes to this operation across all 1 revision of this API.