Skip to main content
POST
/
api
/
v1
/
cubic
/
startGame
Start Game
curl --request POST \
  --url http://50.187.81.221:4000/api/v1/cubic/startGame \
  --header 'Content-Type: application/json' \
  --data '
{
  "gameID": "uniqueGame123",
  "turnLength": 60
}
'

Body

application/json

Information required to start a game, including the game ID and the duration of each turn in seconds.

Data transfer object for initiating a game.

gameID
string
required

The unique identifier of the game to start.

turnLength
number
required

The duration of each turn in seconds.

Response

201

Game successfully started.