Teams Stats

Get Team Record Season

Changed on

Migrated from the following legacy PLG API route(s):

  • team-record-season: https://api.preciser.io/team/record/season/*

The legacy URL's organization segment is replaced by the League request header, allowing the same handler to select any authorized league database.

get/api/v1/teams/records/season

Request

  • Base URL
    https://developer.preciser.io
  • URL
    https://developer.preciser.io/api/v1/teams/records/season
  • Auth
    none declared. Required headers: x-api-key, League

Query parameters

seasonstring
season_typestring

Headers

x-api-keystring required

Required API key issued by Preciser.

Leaguestring required

Required tenant/database selector, for example pitchbio-master.

Response

Successful Response

object[] required

Changes

    • breaking

      the header request parameter League became required

    • breaking

      the header request parameter x-api-key became required

    • breaking

      header request parameter League list-of-types was narrowed by removing types null

    • breaking

      header request parameter x-api-key list-of-types was narrowed by removing types null

    • info

      for the header request parameter League, the type was generalized from no type to string

    • info

      for the header request parameter x-api-key, the type was generalized from no type to string