Tournament Events


GET/api/v1/tournaments/:tournament_id/events

List tournament events

This endpoint allows you to retrieve all the events of a tournament by using the DartConnect Tournament ID.

Request

GET
/api/v1/tournaments/dutchopen24/events
curl https://public-api.dartconnect.com/api/v1/tournaments/dutchopen24/events \
-H "Authorization: Bearer {token}"

Response

{
    "data": [
        {
            "id": 58769,
            "tournament_id": "dutchopen24",
            "event_label": "Men's Singles",
            "start_date": "2024-02-03 00:00:00",
            "end_date": "2024-02-04 23:00:00",
            "bracket_type": "elimination",
            "event_format": "S",
            "published": "Y",
            "begin_notifications": "2024-02-03 03:50:36",
            "created_at": "2024-01-16T09:42:10.000000Z",
            "player_count": 1234
        },
        {
            "id": 58772,
            //
        },
    ]
}

GET/api/v1/tournaments/:tournament_id/events/:event_id

Retrieve a tournament event

This endpoint allows you to retrieve a single event of a tournament by using the DartConnect Tournament ID & DartConnect Event ID.

Request

GET
/api/v1/tournaments/dutchopen24/events/49168
curl https://public-api.dartconnect.com/api/v1/tournaments/dutchopen24/events/49168 \
-H "Authorization: Bearer {token}"

Response

{
    "data": {
        "id": 58769,
        "tournament_id": "dutchopen24",
        "event_label": "Men's Singles",
        "start_date": "2024-02-03 00:00:00",
        "end_date": "2024-02-04 23:00:00",
        "bracket_type": "elimination",
        "event_format": "S",
        "published": "Y",
        "begin_notifications": "2024-02-03 03:50:36",
        "created_at": "2024-01-16T09:42:10.000000Z",
        "player_count": 1234
    }
}

GET/api/v1/tournaments/:tournament_id/events/:event_id/matches

List tournament event matches

This endpoint allows you to retrieve all the matches of a tournament event by using the DartConnect Tournament ID & DartConnect Event ID.

Request

GET
/api/v1/tournaments/dutchopen24/events/49168/matches
curl https://public-api.dartconnect.com/api/v1/tournaments/dutchopen24/events/49168/matches \
-H "Authorization: Bearer {token}"

Response

{
    "data": [
        "T512": [
            {
                "id": 2679084,
                "tournament_id": "dutchopen24",
                "event_id": 58775,
                "competitor_home": {
                    "id": 801432,
                    "type": "player",
                    "full_name": "Beau Greaves",
                    "org_player_id": "WS-11758-20040109-Beau"
                },
                "competitor_away": {
                    "id": null,
                    "type": null,
                    "full_name": null,
                    "org_player_id": null
                },
                "scorekeeper": {
                    "id": null,
                    "type": null,
                    "full_name": null,
                    "org_player_id": null
                },
                "round": "T512",
                "bracket_match_id": "1_1",
                "status": "C",
                "match_score": null,
                "is_bye": "Y",
            },
            {
                "id": 2679087,
                //
            }
        ],
        "T256": [
            //
        ]
    ]
}

Was this page helpful?