v1
latestOpenAPI 3.0.32026-07-26131237.0 KBCommands
Start or reset game instance
Creates a new game session or resets an existing one, depending on the presence of guid in the request body:
• Omit guid or set it to null → start a brand-new game
instance.
• Provide an existing guid → reset that session.
- If at least one ACTION command has been issued since the last level transition, only the current level is restarted.
- If no ACTIONs have been issued, the entire game resets.
Two consecutive RESETs therefore guarantee a completely fresh game.
The call always returns the first (or refreshed) frame of the game state, along with updated score and win condition.
Note: The response includes cookies (particularly AWSALB* cookies) that must be included in all subsequent ACTION commands for this session. These cookies ensure requests are routed to the same backend instance maintaining your game state.
post/api/cmd/RESET
Request body
Response
First frame after starting or resetting the session.