SportStatThreshold
Retrieves the collection of SportStatThreshold resources.
Retrieves the collection of SportStatThreshold resources.
get/sport_stat_thresholds
Request
- Base URL: https://api.spash.com
- URL: https://api.spash.com/sport_stat_thresholds
- 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
sport.idinteger
sport.id[]integer[]
sport.namestring
sport.name[]string[]
metricCodestring
metricCode[]string[]
rankingLevelstring
rankingLevel[]string[]
scopestring
scope[]string[]
windowTypestring
windowType[]string[]
windowDaysinteger
windowDays[]integer[]
targetKeystring
targetKey[]string[]
order[metricCode]'asc' | 'desc'
order[computedAt]'asc' | 'desc'
order[createdAt]'asc' | 'desc'
order[updatedAt]'asc' | 'desc'
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
SportStatThreshold collection
Example response
[
{
"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"
},
"country": {
"currency": "EUR"
},
"rankingLevel": "sport_center",
"scope": "session",
"windowType": "all_time",
"normalizationMode": "percentage",
"sortDirection": "desc",
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.