Team

Retrieves a Team resource.

Retrieves a Team resource.

get/teams/{id}

Request

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

Path parameters

idstring required

Team identifier

Response

Team resource

idinteger
namestring required
trigramstring
primaryColorstring
secondaryColorstring
logoImageUrlstring nullable

Url of the logo image. To remove, set it to null.

createdAtstring date-time
updatedAtstring date-time
sessionsTotalinteger
captainsstring[]

Example response

{
  "primaryColor": "#FFFFFF",
  "secondaryColor": "#FFFFFF",
  "playerTeams": [
    {
      "player": {
        "createdAt": "CURRENT_TIMESTAMP",
        "updatedAt": "CURRENT_TIMESTAMP"
      },
      "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"
  },
  "createdAt": "CURRENT_TIMESTAMP",
  "updatedAt": "CURRENT_TIMESTAMP"
}

Changes

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