TeamRanking

Retrieves a TeamRanking resource.

Retrieves a TeamRanking resource.

get/team_rankings/{id}

Request

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

Path parameters

idstring required

TeamRanking identifier

Response

TeamRanking resource

rankingType'invincible'
positioninteger
scorenumber

Example response

{
  "competition": {
    "sessionDuration": 3000,
    "breakDuration": 300,
    "status": "not_played",
    "createdAt": "CURRENT_TIMESTAMP",
    "updatedAt": "CURRENT_TIMESTAMP"
  },
  "team": {
    "primaryColor": "#FFFFFF",
    "secondaryColor": "#FFFFFF",
    "createdAt": "CURRENT_TIMESTAMP",
    "updatedAt": "CURRENT_TIMESTAMP"
  },
  "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"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.