POST
/
api
/
v1
/
cubic
/
capture
Capture
curl --request POST \
  --url http://50.187.81.221:4000/api/v1/cubic/capture \
  --header 'Content-Type: application/json' \
  --data '{
  "gameID": "uniqueGame123",
  "direction": "CURRENT",
  "capturingShip": {
    "teamName": "RedTeam",
    "shipName": "RedCruiser1"
  }
}'

Body

application/json

Details for a ship to attempt a capture action, including the game ID, the direction, and the capturing ship.

Data transfer object for a ship to attempt a capture action.

Response

201

Capture attempt successfully executed.