SportCenter
Retrieves the collection of SportCenter resources.
Retrieves the collection of SportCenter resources.
get/sport_centers
Request
- Base URL: https://api.spash.com
- URL: https://api.spash.com/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
order[id]'asc' | 'desc'
order[name]'asc' | 'desc'
order[reference]'asc' | 'desc'
order[city]'asc' | 'desc'
order[country.id]'asc' | 'desc'
order[updatedAt]'asc' | 'desc'
order[createdAt]'asc' | 'desc'
namestring
tags.referencestring
tags.reference[]string[]
statusstring
status[]string[]
idinteger
id[]integer[]
referenceinteger
reference[]integer[]
fields.idinteger
fields.id[]integer[]
visibleboolean
monitoringOnboolean
sportsCoboolean
searchstring
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
Response
SportCenter collection
Example response
[
{
"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"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.