FiveSession
Replaces the FiveSession resource.
Replaces the FiveSession resource.
put/five_sessions/{fiveId}
Request
- Base URL: https://api.spash.com
- URL: https://api.spash.com/five_sessions/{fiveId}
- Auth: one of:
- API key in header Authorization
- HTTP bearer
Path parameters
fiveIdstring required
FiveSession identifier
Request body
Example request
{
"status": "not_played"
}Response
FiveSession resource updated
Example response
{
"type": "standard",
"status": "not_played",
"field": {
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
},
"sportCenter": {
"coordinates": [
0,
0
],
"visible": true,
"pedroVersionTarget": "undefined",
"timeZone": "Europe/Paris",
"durationChoices": [
3600,
5400,
7200
],
"language": "en",
"distanceUnite": "km",
"country": {
"currency": "EUR"
},
"tablets": [
{
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
}
],
"tags": [
{
"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.