StatsHub Docs
Endpoint referenceDashboard

/dashboard/leagues

The two permission flags are coalesced to false rather than left null, which the original does explicitly with `?? false` — a null would render as an indeterminate checkbox in the dashboard.

GET
/api/v2/dashboard/leagues

The two permission flags are coalesced to false rather than left null, which the original does explicitly with ?? false — a null would render as an indeterminate checkbox in the dashboard.

logo is a conventional path built from the slug, not a stored column, and is not checked for existence.

Query Parameters

onForTelegramBot?string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/dashboard/leagues"
[  {    "ai_analysis_allowed": true,    "country": "string",    "heatmapLoad": true,    "id": 0,    "isFavorite": true,    "logo": "string",    "name": "string",    "onForTelegramBot": true,    "predictlineup_allowed": true,    "primaryColor": "string",    "shotmapLoad": true,    "shouldShow": true,    "slug": "string",    "uniqueTournamentId": 0  }]