Courts

Switch Game

Start a game or asset flip in the given court.

put/courts/{courtId}/switchGame

Request

  • Base URL: https://courtadmin.net/api/v1.0
  • URL: https://courtadmin.net/api/v1.0/courts/{courtId}/switchGame
  • Auth: HTTP basic

Path parameters

courtIdstring required

The court ID

Request body

gameIdstring

Object id of the game that should be switched to. Available gameIds are found using the /courts/{courtId}/games endpoint.

versionNumberstring

The version number within the game (null sets to current version on court).

flipIdstring

If a custom asset flip should be started, this specifies the id of the asset flip. If set, the gameId can be omitted. Available flipIds are found using the /courts/{courtId}/games endpoint.

Response

Success Response

Changes

No recorded changes to this operation across all 1 revision of this API.