Objects
Every shape the API hands back, described once. Endpoints return these; the type beside a property links to the one it holds.
- Army listThe army a player brought, exactly as they submitted it. The same object whether it was submitted for a tournament or brought to a single battle.
- BattleA 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.
- Battle playerOne side of a battle — who played, what they brought and what they scored. Every battle has exactly two.
- Bracket matchOne match in a knockout tree: which round it belongs to, who is playing it and who went through.
- ClubA group of players who play together, usually somewhere in particular. A club runs tournaments, and the battles its members play come back under it.
- Leaderboard rowOne player place on a board — where they came and the record that got them there.
- ParticipantSomebody taking part in a tournament — who they are, whether they are still in, where they finished, and what they brought.
- Player roundWhat one player scored in one round of a battle. It is the finest detail the API goes to.
- StageOne part of a tournament that is played and ranked on its own — the Swiss rounds, the knockout bracket, a placement bracket. Its id is what you ask the leaderboard endpoint for.
- TournamentAn event someone organised and ran on Milarki, from a club evening to a two-day open. It tells you where and when it was held, how it is set up and how far along it is.