Season

Seasons

Returns the list seasons for a tournament.

get/tournaments/{tournament_id}/seasons

Request

  • Base URL
    https://api.clubplatform.de/api
  • URL
    https://api.clubplatform.de/api/tournaments/{tournament_id}/seasons
  • Auth
    API key in query parameter auth_token

Path parameters

tournament_idinteger required

ID of the tournament.

Query parameters

locale'de-DE' | 'en-GB' | 'nl-NL'

The response will be in that locale.

NOTE: The locale must be whitelisted for your club! If not the locale for the auth_token will be used as default.

Filter ItemsSet locale
❌✅

Headers

If-Modified-Sincestring date-time

This makes the request conditional - the server will send back the requested resource, with a 200 status, only if it has been last modified after the given date. If the request has not been modified since, the response will be a 304 without any body; the Last-Modified header will contain the date of last modification.

You MUST set this header, if you can, to respect API caching.

Response

OK

Example response

{
  "data": [
    {
      "id": 1573213,
      "name": "2016/2017",
      "tournament_id": 3,
      "number_of_rounds": 7
    }
  ]
}

Changes

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