API Reference

Floor

2 endpoints· Auth: JWT or API Key
get/api/v1/console/pos/floor JWT API Key

The live floor

The response carries the server's own clock and every seat age is derived from it, for the same reason the kitchen display sends one: a rack of cheap tablets left to their own clocks disagrees about which table has been sitting longest, and a timer the floor has learned to trust and which is wrong is worse than no timer.

Out-of-service tables are returned, not filtered. `disabled` is one of's three floor states, not a display preference — a table omitted from the board reads as empty space and gets a party seated at it.

Capability
view_floor
API key scope
cap:view_floor (the key's owner must also hold the capability)

Query parameters

AreaId
string (uuid)
Narrow the board to one area. An unknown or foreign id yields an empty board rather than an error — the same choice the KDS board makes for a retired station.

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/pos/floor" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Query parameters

Headers

Set credentials in the “Authorize” menu
put/api/v1/console/pos/floor/layout JWT API Key

Update layout

Save an area's floor plan — the canvas and where each table sits, its size, rotation and shape ( POS B2). `manage_tables`: drawing the room is master data, like creating a table, never a waiter's or a cashier's act. Positions past the edge are clamped, not refused.

Capability
manage_tables
API key scope
cap:manage_tables (the key's owner must also hold the capability)

Request body

application/json
{
  "areaId": "00000000-0000-0000-0000-000000000000",
  "canvasWidth": 0,
  "canvasHeight": 0,
  "tables": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "posX": 0,
      "posY": 0,
      "width": 0,
      "height": 0,
      "rotation": 0,
      "shape": "string"
    }
  ]
}
areaId
string (uuid)
The area being drawn; null = the tables not assigned to any area (no canvas is stored).
canvasWidth
integer (int32)
—
canvasHeight
integer (int32)
—
tables
FloorLayoutTableRequest[]
—

Responses

200Success
cURL
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/pos/floor/layout" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "areaId": "00000000-0000-0000-0000-000000000000",
  "canvasWidth": 0,
  "canvasHeight": 0,
  "tables": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "posX": 0,
      "posY": 0,
      "width": 0,
      "height": 0,
      "rotation": 0,
      "shape": "string"
    }
  ]
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu