Leagues
List league seasons
Changed onHQ season picker (#848). Public. { seasons: [{ year, label, current }] }, most recent first. The current season always lists so ?season= targets on standings, schedule, roster and statistics agree with the picker.
get/api/leagues/{leagueId}/seasons
Request
- Base URLhttps://app.d-sports.org
- Authnone required
Path parameters
leagueIdstring required
Prisma League.id or slug (not the vendor NHL id).
Response
{ success, data: { seasons } }
Changes
- info
endpoint added
- info