Skip to main content
POST
Capture

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.

gameID
string
required

The unique identifier of the game.

direction
enum<string>
required

The direction of the capture attempt relative to the capturing ship. 'CURRENT' means attempting capture at the same vertex.

Available options:
CURRENT,
UP,
DOWN,
LEFT,
RIGHT,
FORWARD,
BACK
capturingShip
object
required

The ship attempting to capture an objective.

Response

201

Capture attempt successfully executed.