Schedules

GET /tournaments/{tournament_id}/schedules

Deprecated

Deprecated

The feature is no longer supported, so the endpoint is deprecated. You can still call it, but will get a 200 response with an empty array.

Returns a collection of schedules from one tournament.

Resource URL

https://api.toornament.com/v1/tournaments/{tournament_id}/schedules

Path parameters

  • tournament_id
    string

    The identifier of the tournament schedules.

Query Parameters

  • with_events
    boolean

    When set to '1', it will include events of the schedule.

    Allowed values: 0, 1

    Default: 1

  • visibility
    string

    When set to 'public', it returns only public schedules. When set to 'private', it returns only private schedules. This query is only available when accessing this resource with the authorization token.

    Allowed values: public, private

    Default: public

Request Body

This endpoint doesn't require a request body.

Response

[200] Success

Example
[
    {
        "name": "Opening",
        "timezone": "Europe\/Paris",
        "events": [
            {
                "name": "First match",
                "date": "2015-10-28",
                "hour": "10:00"
            }
        ]
    }
]
Structure (collection)
  • name
    string

    Name of this schedule (maximum 40 characeters).

    Example: "Opening"

  • timezone
    string|null

    Time zone of the tournament. This value is represented as the tz database.

    Example: "Europe/Paris"

  • events
    array[object]

    Optional

    This property is added when the parameter "with_events" is enabled.