Battle

A single game between two players, played either in a tournament or on its own. It tells you when it was played, what it was played with, and how it ended.

Properties

idstring
The battle id. Pass it to /battles/{id}.
datestring (YYYY-MM-DD) | null
The day the battle was played, as a local date.
tournamentstring | null
Slug of the tournament the battle belongs to. Null for a casual battle.See Tournament
stagestring | null
Id of the tournament stage the battle was played in, for example "swiss". Null for a casual battle.See Stage
roundnumber | null
Round number, counting from 1.
tablenumber | null · optionalGET /api/v1/tournaments/{slug}/battles, GET /api/v1/battles/{id} only
Table number the battle was played at. With `stage` and `round` it identifies the pairing. Null for a casual battle.
state"setup" | "ongoing" | "finished"
How far the battle has got. "setup" before the first round, "ongoing" until the result is confirmed, then "finished". Only a finished battle has a result.
scenariostring | null
Scenario played.
battlePackstring | null
Name of the battle pack the battle was played with.
battleSizenumber
Points limit per army, for example 2000.
winnerstring | null
Name of the winning player. Null on a draw, and null until the battle is finished.
victorySize"major" | "minor" | null
How big the win was. Null until the battle is finished.
playersBattlePlayer[]
The two players and how they scored.
urlstring
Link to the battle page on milarki.com.
teamMatchTeamMatch | null
The team-against-team match this battle is one game of. Null on every battle outside a team tournament, which is most of them.

Example — GET /battles/{id}

json
{
  "id": "000b1161c8a864a1f75f",
  "date": "2024-03-20",
  "tournament": "nagash-testing-2024-03-20",
  "stage": "swiss",
  "round": 3,
  "table": 4,
  "state": "finished",
  "scenario": "Lines of Communication",
  "battlePack": "GHB 2023-2024",
  "battleSize": 2000,
  "winner": "Anders Larsson",
  "victorySize": "major",
  "players": [
    {
      "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,
      "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
        }
      ]
    }
  ],
  "url": "https://www.milarki.com/battles/000b1161c8a864a1f75f",
  "teamMatch": null
}