Battle player
One side of a battle — who played, what they brought and what they scored. Every battle has exactly two.
Properties
playerstring- The player display name.
playerIdstring | null- The public player id, when the player has one. Use it to get that player's battles.See
GET /api/v1/users/{publicId}/battles factionstring | null- Faction played.
subFactionstring | null- Battle formation, also called sub-faction.
outcome"win" | "loss" | "draw" | null- How the battle went for this player. Null while the battle is unfinished.
battlePointsnumber | null- Battle points earned from this battle. Null until the battle is finished.
victoryPointsnumber | null- Victory points scored across every round. A running total while the battle is in play.
objectivePointsnumber · optionalwhen the battle pack scores objectives- Objective points scored across every round.
battleTacticsScorednumber · optionalwhen the battle pack uses battle tactics- How many battle tactics the player completed.
grandStrategystring | null · optionalwhen the battle pack uses grand strategies- The grand strategy the player picked.
grandStrategyScoredboolean · optionalwhen the battle pack uses grand strategies- Whether the grand strategy came off.
dropsnumber | null- Number of deployment drops. Null when none were recorded for the player.
role"attacker" | "defender" | null- The role the player had in the scenario. Null when the battle did not record attacker and defender.
metricsobject- Anything else the organizer tracked, keyed by the name they gave it. Numbers are totalled, yes/no metrics are counted. Always present, and empty when there is nothing extra.
team{name, slug} | null- The team the player played for, or null when the battle was not played for a team, or when the team registration has since been removed.See Team
listArmyList | nullGET /api/v1/battles/{id} only- The army the player brought, or null when none was recorded. Repeats faction and subFaction, which stay on the player itself so the battle listings can name them without carrying the list text.
roundsPlayerRound[]GET /api/v1/battles/{id} only- Round-by-round detail.
Example — GET /battles/{id}
json
{
"player": "Anders Larsson",
"playerId": "L80MTI4R",
"faction": "Disciples of Tzeentch",
"subFaction": "Guild of Summoners",
"outcome": "win",
"battlePoints": 20,
"victoryPoints": 28,
"objectivePoints": 18,
"battleTacticsScored": 3,
"grandStrategy": "Master of Destiny",
"grandStrategyScored": false,
"drops": 6,
"role": "attacker",
"metrics": {"Håll fler": 4},
"team": null,
"list": {
"faction": "Disciples of Tzeentch",
"subFaction": "Guild of Summoners",
"points": 1990,
"battleTacticCards": ["Sever the Head", "Bring it Down"],
"text": "Allegiance: Disciples of Tzeentch\n..."
},
"rounds": [
{
"round": 1,
"victoryPoints": 8,
"objectivePoints": 3,
"objectives": ["Hold 1", "Primary"],
"battleTactic": "Surround the Enemy",
"battleTacticScored": true,
"battleTactics": [
{
"card": "Flanking Firestorm",
"tactic": "Surround the Enemy",
"stage": 2,
"scored": true
},
{
"card": "Sever the Head",
"tactic": null,
"stage": null,
"scored": false
}
],
"priority": true
}
]
}