API Reference
KDS Board
The kitchen display board.
/api/v1/console/kds/board JWT API KeyOne poll of the active board
This is a poll, and the interval is the contract. The client re-fetches every `pollIntervalMs` and the payload carries the server's own clock so every screen in the kitchen ages its chits against the same instant. A client must not cache it: the whole point is that it is three seconds old at worst. The `ConsoleHub` nudge (`kds.ticket.*`) only triggers an EARLIER fetch of this same endpoint — LIM-1's serverless constraint is gone, but keeps the poll, because its successful results are what feed the offline board cache.
- API key scope
- Any key holding a cap: scope (a read every signed-in role can make).
- Roles
OWNERorADMINorBRANCH_MANAGERorCHEF
Query parameters
| StationId string (uuid) | Narrow the board to one station — the physical deployment where a screen is bolted to the grill. LIM-11 records that the reference client never sent this; the endpoint has always supported it. |
Responses
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/kds/board" \
-H "X-Api-Key: <YOUR_API_KEY>"Query parameters
Headers
/api/v1/console/kds/tickets/{ticketId}/transition JWTBump or recall one ticket.,
A `POST` specifically, and not for REST tidiness: a `GET` would be fired by a link prefetch or by the board's own poll, and a bump is not something a browser gets to do speculatively.
Statuses follow the envelope's code: a ticket in another branch is `NOT_FOUND` (404), and every ladder refusal — already bumped, not recallable, raced, unrecognised status — is `CONFLICT` (409). The controller picks neither; `ErrorCodes.ToHttpStatus` does.
- Signed-in user only
- Not open to API keys or OAuth tokens.
- Roles
OWNERorADMINorBRANCH_MANAGERorCHEF
Path parameters
| ticketIdrequired string (uuid) | — |
Request body
{
"action": "string",
"expectedStatus": "string"
}| action string | `bump` or `recall`. See `KdsLadder.Actions`. |
| expectedStatus string | The status the screen showed when the button was pressed — the `from` of the step the cook meant. Makes the press idempotent (audit finding N17): a bump retried after its response was lost finds the ticket already where the first one took it, and is answered as that one was, writing nothing, instead of advancing the ticket a second step. A ticket that has moved anywhere else is a conflict. <br>Optional so a board that predates it keeps working; without it a retried press still advances twice, so every client should send it. |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/kds/tickets/{ticketId}/transition" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"action": "string",
"expectedStatus": "string"
}'Path parameters
Request body (JSON)
Headers