SportStatThreshold

Retrieves the collection of SportStatThreshold resources.

Retrieves the collection of SportStatThreshold resources.

get/sport_centers/{id}/sport_stat_thresholds

Request

  • Base URL: https://api.spash.com
  • URL: https://api.spash.com/sport_centers/{id}/sport_stat_thresholds
  • Auth: one of:
    • API key in header Authorization
    • HTTP bearer

Path parameters

idstring required

SportStatThreshold identifier

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

idinteger
rankingLevel'sport_center' | 'country' | 'world'
targetKeystring
metricCodestring
scope'session' | 'player'
windowType'all_time' | 'rolling'
windowDaysinteger
normalizationMode'percentage' | 'rate_per_hour' | 'raw_value'
sortDirection'asc' | 'desc'
minimumDurationSecondsinteger nullable
minimumDenominatornumber nullable
populationSizeinteger
top10Thresholdnumber nullable
top5Thresholdnumber nullable
top1Thresholdnumber nullable
computedAtstring date-time
createdAtstring date-time
updatedAtstring date-time

Example response

[
  {
    "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.