Manage your battle — maneuver, target enemies, adopt combat stances, or self-destruct
Changed onFocuses your fire on one enemy. id is the target's ID or name — any combatant listed in the battle status, including pirates, police, drones, creatures and stations; required. If no target is set, the auto-pilot attacks the nearest enemy. A target whose grant of safe passage binds you returns safe_passage. Requires being in an active battle.
Example: POST /api/v2/spacemolt_battle/target with body {"id":"abc123"}
Request
- Base URLhttps://game.spacemolt.com
- AuthAPI key in header X-Session-Id
Request body
ID or name of the enemy — required when focusing a target and when entering the board stance. Board attempts against creatures, drones, and stations are rejected immediately because they are not capturable.
Response
Result. structuredContent type: BattleResponse
Example response
{
"notifications": [
{
"data": {
"reason": "stalemate",
"winning_side": -1
}
}
]
}Changes
- info
added the optional property
allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuelto the response with the status
- info
- info
added the optional property
allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearingto the response with the status
- info