Admin
List league season windows
Changed onPlatform admin only. Every persisted hockey calendar window for a league, newest season first: { windows: [{ id, leagueId, seasonYear, startDate, endDate, preseasonStartDate, stateOverride, hubEnabled, createdAt, updatedAt }] }. These rows drive seasonState on team detail (#999). Nullable stateOverride / hubEnabled mean the phase and hub switch are derived from the dates. 404 for an unknown league ref, so an empty list means no calendar is configured yet.
get/api/admin/leagues/{leagueId}/season-windows
Request
- Base URLhttps://app.d-sports.org
- AuthHTTP bearer
Path parameters
leagueIdstring required
League id or slug.
Response
{ success, data: { windows } }
Changes
- info
endpoint added
- info