Skip to main content
POST
Setup Ships

Body

application/json

Details for setting up a team's fleet, including the game ID, team name, and a list of ships with their types and stats.

Data transfer object for defining the entire fleet for a specific team in a game.

gameID
string
required

The unique identifier of the game.

teamName
string
required

The name of the team to which the fleet belongs.

ships
object[]
required

List of ships that belong to this team, including their names, types, and stats.

Response

201

Ships successfully set up for the specified team.