Skip to main content

A collection of Season entities.

GET 

/basketball/v2/seasons

A Season entity can be associated with a League,Event, and other enrities that need to be grouped by a season.

The year on the season is the year in which the season started. SO a 2024-2025 season would have a year of 2024 even if the final game is in 2025.

Request

Query Parameters

    page integer

    Default value: 1

    The collection page number

    count integer

    Default value: 30

    The number of items per page

    properties[] string[]
    season string
    season[] string[]
    startDate string
    startDate[] string
    endDate string
    endDate[] string
    name string
    name[] string[]
    events string
    events[] string[]
    standingTeams string
    standingTeams[] string[]
    standingPlayers string
    standingPlayers[] string[]
    rosters string
    rosters[] string[]
    leaders string
    leaders[] string[]
    createdAt string
    createdAt[] string
    updatedAt string
    updatedAt[] string
    uuid string
    uuid[] string[]
    id integer
    id[] integer[]
    order[season] string

    Possible values: [asc, desc]

    order[startDate] string

    Possible values: [asc, desc]

    order[endDate] string

    Possible values: [asc, desc]

    order[name] string

    Possible values: [asc, desc]

    order[createdAt] string

    Possible values: [asc, desc]

    order[updatedAt] string

    Possible values: [asc, desc]

    order[uuid] string

    Possible values: [asc, desc]

    order[id] string

    Possible values: [asc, desc]

    updatedAt[before] string
    updatedAt[strictly_before] string
    updatedAt[after] string
    updatedAt[strictly_after] string

Responses

Season collection

Response Attributes and Relations

  • season (string)

  • startDate (DateTimeInterface)

  • endDate (DateTimeInterface)

  • name (string)

  • standingTeams (object,StandingTeam)

  • uuid (uuid)

Loading...