APIAPI v2V2 endpoint referenceTeams
/teams/{teamId}/seasons
List every season of the competitions a team has fixtures in
List every season of the competitions a team has fixtures in
Path Parameters
teamId*string
Opaque resource ID
Match
^[1-9][0-9]*$Query Parameters
limit?integer
Maximum resources to return; defaults to 25
Range
1 <= value <= 100Default
25after?string
Opaque cursor for the next page
before?string
Opaque cursor for the previous page
competitionId?string
Filter by competition
Match
^[1-9][0-9]*$Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/teams/string/seasons"{ "data": [ { "competition": { "id": "string", "name": "string", "slug": "string" }, "finished": 0, "fixtures": 0, "hasPlayerStatistics": true, "national": true, "season": { "id": "string", "name": "string", "slug": "string" } } ], "links": { "next": "string", "previous": "string", "self": "string" }, "page": { "hasNext": true, "hasPrevious": true, "limit": 0, "nextCursor": "string", "previousCursor": "string" }}