StatsHub Docs
APIAPI v2V2 endpoint referenceAdmin

/admin/dashboard/leagues

GET
/admin/dashboard/leagues

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

Query Parameters

onForTelegramBot?string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/admin/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  }]