Back to index
/api/v3/games/:game_id/teams
GET /api/v3/games/:game_id/teams/:id/lineup_candidates - Who is allowed to play for a team?
Retrieves all team members that are eligible to play in the given game.
To be eligible, the following has to be satisfied:
- The member has any type of license that allows him to participate in games on behalf of this team.
- The license is valid at the day the game is played.
- If this is a game that happens outside "Meisterschaft Qualifikation", the license must not be a multi license (Doppelspiellizenz).
Response
A list of team_members
GET /api/v3/games/:game_id/teams/:id/lineup - Is my chosen lineup valid?
Find out whether your chosen lineup is valid.
To be, it has to satisfy the following:
- Only eligible team members' licenses used. To find those, use
/api/v3/games/:game_id/teams/:id/lineup_candidates
.
- No lineup quota exceeded.
- There may not be more than 22 players in a lineup.
- There are limits in place for each league/game class combination that govern many players one can draft from other leagues and game classes.
Filtering
The following filters are available:
licenses
determines which licenses to use for the lineup. It is a comma-joined string of license ids. Mandatory.
GET /api/v3/games/:game_id/teams/:id/lineup_candidates?filter[licenses]=1,2
Response
A lineup