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. Requires being in an active battle.
Example: POST /api/v2/spacemolt_battle/target with body {"id":"abc123"}
Request
- Base URL: https://game.spacemolt.com
- URL: https://game.spacemolt.com/api/v2/spacemolt_battle/target
- Auth: API key in header X-Session-Id
Request body
Response
Result. structuredContent type: BattleResponse
Changes
- warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - info
added the optional property
///////////to the response with the status - info
added the optional property
///////////to the response with the status - info
the response property
/////////////became required for the status - info
the response property
/////////////became required for the status - info
the response property
/////////////became required for the status - info
the response property
/////////////became required for the status
- warning
- info
added the optional property
/////////////to the response with the status
- info