PlayerSportCenter
Retrieves the collection of PlayerSportCenter resources.
Retrieves the collection of PlayerSportCenter resources.
get/player_sport_centers
Request
- Base URL: https://api.spash.com
- URL: https://api.spash.com/player_sport_centers
- Auth: one of:
- API key in header Authorization
- HTTP bearer
Query parameters
pageinteger
The collection page number
itemsPerPageinteger
The number of items per page
paginationboolean
Enable or disable pagination
player.idinteger
player.id[]integer[]
sportCenter.idinteger
sportCenter.id[]integer[]
managerboolean
coachboolean
player.enabledboolean
staffboolean
player.emailstring
player.createdAt[before]string
player.createdAt[strictly_before]string
player.createdAt[after]string
player.createdAt[strictly_after]string
createdAt[before]string
createdAt[strictly_before]string
createdAt[after]string
createdAt[strictly_after]string
updatedAt[before]string
updatedAt[strictly_before]string
updatedAt[after]string
updatedAt[strictly_after]string
order[player.createdAt]'asc' | 'desc'
order[createdAt]'asc' | 'desc'
order[updatedAt]'asc' | 'desc'
Response
PlayerSportCenter collection
Example response
[
{
"player": {
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
},
"sportCenter": {
"coordinates": [
0,
0
],
"visible": true,
"timeZone": "Europe/Paris",
"durationChoices": [
3600,
5400,
7200
],
"language": "en",
"distanceUnite": "km",
"country": {
"currency": "EUR"
},
"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.