StatsHub Docs
Endpoint referenceUnique tournament

/unique-tournament/{uniqueTournamentId}/{seasonId}/cup-tree

A season with no bracket is a 200 with `data: null`, not a 404 — the client distinguishes "this competition has no cup tree" from "no such competition".

GET
/api/v2/unique-tournament/{uniqueTournamentId}/{seasonId}/cup-tree

A season with no bracket is a 200 with data: null, not a 404 — the client distinguishes "this competition has no cup tree" from "no such competition".

Path Parameters

uniqueTournamentId*string
seasonId*string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/unique-tournament/string/string/cup-tree"
{  "$schema": "https://example.com/schemas/UniqueTournamentCupTreeOKBody.json",  "data": {    "property1": null,    "property2": null  }}