APIEndpoint referenceRankings
/v2/competitions/{competitionId}/seasons/{seasonId}/player-rankings
List aggregate player-season rankings
List aggregate player-season rankings
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
Range
1 <= value <= 100Default
25after?string
Opaque cursor for the next page
before?string
Opaque cursor for the previous page
teamId?string
Filter by team
Match
^[1-9][0-9]*$sort?string
Ranking order
Value in
- "-goals"
- "-assists"
- "-appearances"
- "name"
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/player-rankings"{ "data": [ { "appearances": 0, "assists": 0, "goals": 0, "player": { "id": "string", "name": "string", "slug": "string" }, "position": "string", "rank": 0, "team": { "id": "string", "name": "string", "slug": "string" } } ], "links": { "next": "string", "previous": "string", "self": "string" }, "page": { "hasNext": true, "hasPrevious": true, "limit": 0, "nextCursor": "string", "previousCursor": "string" }}