StatsHub Docs
Endpoint referenceDashboard

/dashboard/leagues/{id}/seasons

The seasons a tournament has fixtures for.

GET
/api/v2/dashboard/leagues/{id}/seasons

The seasons a tournament has fixtures for.

name and year are both built from the season id, because that is all the events table carries — there is no join to seasons here. A season with a null id is named "Season " and reported as year "Unknown", which is the original's output and not a placeholder introduced by the port.

Path Parameters

id*integer
Formatint64

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/dashboard/leagues/0/seasons"
[  {    "property1": null,    "property2": null  }]