v1

latestOpenAPI 3.0.32026-07-24214879985.1 KB
Layouts

This endpoint allows you to update a specific layout.

patch/layouts/{layoutId}

Request body

namestring

Name of the layout.

Example request

{
  "panes": [
    {
      "id": 1,
      "name": "front door",
      "type": "preview",
      "size": 1,
      "cameraId": "1003b545"
    }
  ],
  "settings": {
    "showCameraBorder": true,
    "showCameraName": true,
    "cameraAspectRatio": "16x9"
  },
  "name": "Main office floor 1"
}

Response

Layout Updated