Stage

One 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.

Properties

idstring
The value to pass as ?stage= on the leaderboard endpoint, for example "swiss".
namestring
Exactly what the stage is called on its tab in the app, for example "Swiss Stage" or "Placement #5–8". Show this to people; match on id in code.
type"board" | "bracket"
A board is a ranked table of players. A bracket is a knockout tree of matches. This decides what the leaderboard returns for the stage.
roundsnumber · optionalnot on Final Standings
How many rounds the stage runs over.
playersnumber · optionalon the main knockout stage only
How many players go into the bracket. A placement bracket says its own size in its name instead.

Example — the main knockout stage

json
{
  "id": "knockout",
  "name": "Knockout Stage",
  "type": "bracket",
  "rounds": 3,
  "players": 8
}