Leagues

List league seasons

Changed on

HQ 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 URL
    https://app.d-sports.org
  • Auth
    none required

Path parameters

leagueIdstring required

Prisma League.id or slug (not the vendor NHL id).

Response

{ success, data: { seasons } }

Changes