v1
OpenAPI 3.1.02026-08-0410576180.0 KBGames
Upsert Game
Upsert a game record.
Inserts a new game or updates an existing one based on video_id. If game_id is not provided, a UUID will be auto-generated.
post/api/v1/games
Headers
x-api-keystring nullable
Leaguestring nullable
Request body
Example request
{
"away_team_id": "7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
"game_id": "550e8400-e29b-41d4-a716-446655440000",
"game_status": "scheduled",
"home_team_id": "60959335-3173-45b4-b656-276a05b22011",
"scheduled_date_time": "2026-02-01T19:00:00+11:00",
"season": "2026",
"season_type": "regular season",
"venue": "Arena Center"
}Response
Successful Response