Team
Retrieves the collection of Team resources.
Retrieves the collection of Team resources.
get/sport_centers/{id}/teams
Request
- Base URL: https://api.spash.com
- URL: https://api.spash.com/sport_centers/{id}/teams
- Auth: one of:
- API key in header Authorization
- HTTP bearer
Path parameters
idstring required
Team identifier
Query parameters
pageinteger
The collection page number
itemsPerPageinteger
The number of items per page
paginationboolean
Enable or disable pagination
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[id]'asc' | 'desc'
order[name]'asc' | 'desc'
order[sportCenter.name]'asc' | 'desc'
order[createdAt]'asc' | 'desc'
order[updatedAt]'asc' | 'desc'
namestring
trigramstring
trigram[]string[]
tags.referencestring
tags.reference[]string[]
sportCenter.idinteger
sportCenter.id[]integer[]
playerTeams.player.idinteger
playerTeams.player.id[]integer[]
Response
Team collection
Example response
[
{
"primaryColor": "#FFFFFF",
"secondaryColor": "#FFFFFF",
"playerTeams": [
{
"player": {
"playerSportCenters": [
{
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
}
],
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
},
"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.