StatsHub Docs
APIEndpoint referenceCompetitions

/v2/competitions/{competitionId}/seasons/{seasonId}/phases

List phases in a competition season

GET
/api/v2/competitions/{competitionId}/seasons/{seasonId}/phases

List phases in a competition season

Path Parameters

competitionId*string

Opaque resource ID

Match^[1-9][0-9]*$
seasonId*string

Opaque resource ID

Match^[1-9][0-9]*$

Query Parameters

limit?integer

Maximum resources to return; defaults to 25

Range1 <= value <= 100
Default25
after?string

Opaque cursor for the next page

before?string

Opaque cursor for the previous page

q?string

Search phase names

Lengthlength <= 100

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/competitions/string/seasons/string/phases"
{  "data": [    {      "capabilities": {        "aiAnalysis": true,        "heatmaps": true,        "lineupProjections": true,        "shotmaps": true      },      "competition": {        "id": "string",        "name": "string",        "slug": "string"      },      "group": true,      "id": "string",      "live": true,      "name": "string",      "region": {        "id": "string",        "name": "string",        "slug": "string"      },      "slug": "string"    }  ],  "links": {    "next": "string",    "previous": "string",    "self": "string"  },  "page": {    "hasNext": true,    "hasPrevious": true,    "limit": 0,    "nextCursor": "string",    "previousCursor": "string"  }}