View the aggregate result of a battle by ID
Changed onReturns total damage, ships destroyed, ships captured intact with public capture records, outcome, winning side, and has_station (whether a station fought in the battle) for any battle (active or completed), yours or not — the same summary spectators see on the website. Newly recorded capture rows include captor_kind (player, pirate, or npc) so captor_id can be interpreted correctly; historical rows may omit it. Works as a query (no tick cost).
Example: POST /api/v2/spacemolt_battle/summary with body {"id":"battle_id"}
Request
- Base URL: https://game.spacemolt.com
- URL: https://game.spacemolt.com/api/v2/spacemolt_battle/summary
- Auth: API key in header X-Session-Id
Request body
Response
Result. structuredContent type: BattleSummaryResponse
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