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.
- PairingOne table in one round of a board stage: who plays whom, and who won.
- ParticipantSomebody taking part in a tournament — who they are, whether they are still in, where they finished, and what they brought. On a team tournament this is the people who actually play: a coach or a captain who takes no seat is on the team without being a participant, so they are not here.
- 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.
- TeamA team registered into one tournament — who leads it, who plays for it, and where it ended up. Teams only exist on a team event; an ordinary tournament has none.
- Team leaderboard rowOne team place on the team standings — where they came and the record that got them there: the team matches, and the individual battles played inside them.
- Team matchTwo teams against each other. The players play their own battles inside it, and those battles add up to the one team result described here.
- TournamentAn event someone organized 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.