Ingest Historical Stats
Changed onIngest biomech historical stat rows.
Player resolution: if a row uses player.alias for a pitcher that does not yet exist in player_info, this endpoint will bootstrap the row with team_id=NULL (no team binding is available at this stage). Callers should establish player_info first — either via POST /biomech/sessions (which can resolve team_id from the session's team_id field) or by pre-creating rosters — to avoid teamless pitcher records.
Request
- Base URLhttps://developer.preciser.io
- URLhttps://developer.preciser.io/api/v1/biomech/historical-stats
- Authnone declared. Required headers: x-api-key, League
Headers
Required API key issued by Preciser.
Required tenant/database selector, for example pitchbio-master.
Request body
Response
Successful Response
Changes
- breaking
the
headerrequest parameterLeaguebecame required - breaking
the
headerrequest parameterx-api-keybecame required - breaking
headerrequest parameterLeaguelist-of-types was narrowed by removing typesnull - breaking
headerrequest parameterx-api-keylist-of-types was narrowed by removing typesnull - info
for the
headerrequest parameterLeague, the type was generalized from no type tostring - info
for the
headerrequest parameterx-api-key, the type was generalized from no type tostring
- breaking