Operations
Battles, games, dashboard, search, menu and notifications.
The active casino's battles, newest first
Read-only, plus one write. **Opening a battle is the casino backend's act
One battle, with its seats
A battle belonging to another casino is a `404`, not a `403` β the answer must
Close an open lobby
The one write on this surface. Only a battle that is still `OPEN` can be
Dashboard cards
Four cards for the active casino β battles opened, battles completed,
The catalog with the active casino's allowlist marked
Answers **every** game with a boolean, not just the allowed ones β a screen
Allow or revoke a game for this casino
A `PUT` with a boolean rather than a `POST` and a `DELETE`: the control is a
The navigation tree
A flat list of nodes, each naming its parent β the client assembles the tree.
Apply a new arrangement
The WHOLE arrangement, not a delta, applied in one transaction β a partial
Edit one node
Every field is optional and every one distinguishes ABSENT from CLEARED:
The caller's own notifications
Only the signed-in operator's rows β there is no route that reads someone
Mark read or unread
**No permission check** β ownership is the authorization, and it is enforced
Search across members, casinos and settings
Backs the command palette, so it is bounded rather than exhaustive: it