SportStatThreshold

Retrieves a SportStatThreshold resource.

Retrieves a SportStatThreshold resource.

get/sport_stat_thresholds/{id}

Request

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

Path parameters

idstring required

SportStatThreshold identifier

Response

SportStatThreshold resource

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

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