Apply a new arrangement
POST/admin/menu/reorder
The WHOLE arrangement, not a delta, applied in one transaction — a partial reorder is a tree with two nodes claiming one position.
The response is the re-read tree rather than an echo of the request, so a client renders what was actually stored.
This path is declared before /admin/menu/{id} so the literal wins the
match; a router preferring the parameter would route this into the update
handler with id="reorder", producing a 404 that reads like a missing record
rather than a routing bug.
Permission: menu.write
Request
Responses
- 200
- 400
- 401
- 403
- 404
The tree as stored
X-Tenant-Id is missing, or the body is malformed
No session cookie, or it expired
The role lacks menu.write, or the caller is not a member of this casino
The arrangement names a node that does not exist