curl --request POST \
--url http://50.187.81.221:4000/api/v1/cubic/setupShips \
--header 'Content-Type: application/json' \
--data '
{
"gameID": "uniqueGame123",
"teamName": "RedTeam",
"ships": [
{
"name": "RedScout1",
"shipType": "SCOUT",
"stats": {
"moveFactor": 3,
"attackFactor": 1,
"defenseFactor": 1,
"attackRange": 1
}
},
{
"name": "RedDestroyer1",
"shipType": "DESTROYER",
"stats": {
"moveFactor": 2,
"attackFactor": 2,
"defenseFactor": 2,
"attackRange": 1
}
}
]
}
'Configures the fleet for a specific team within an existing game, assigning names, types, and combat statistics to each ship.
curl --request POST \
--url http://50.187.81.221:4000/api/v1/cubic/setupShips \
--header 'Content-Type: application/json' \
--data '
{
"gameID": "uniqueGame123",
"teamName": "RedTeam",
"ships": [
{
"name": "RedScout1",
"shipType": "SCOUT",
"stats": {
"moveFactor": 3,
"attackFactor": 1,
"defenseFactor": 1,
"attackRange": 1
}
},
{
"name": "RedDestroyer1",
"shipType": "DESTROYER",
"stats": {
"moveFactor": 2,
"attackFactor": 2,
"defenseFactor": 2,
"attackRange": 1
}
}
]
}
'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.
Ships successfully set up for the specified team.