v1

latestOpenAPI 3.0.32026-07-24214879985.1 KB
Cameras

Associates a camera with the account. This can only be called with an end-user account, and will result in an error if tried with any other type of account.

post/cameras

Request body

OR
OR
OR
OR

Example request

{
  "name": "My new device",
  "locationId": "2428fda3-389f-48ce-b062-85875dd6b2e2",
  "devicePosition": {
    "latitude": 52.3074013,
    "longitude": 4.9459903,
    "azimuth": 7.419435,
    "rangeInMeters": 50.4,
    "floor": 50,
    "fieldOfView": 100
  },
  "bridgeId": "1000f60d",
  "guid": "ddfa5b34-5d04-431e-8287-110fe87edf71"
}

Response

Camera added

idstring required
accountIdstring required
namestring required

User-defined name for the device.

bridgeIdstring required

The bridge a camera is connected to. Keep in mind that some cameras are connected directly to the cloud, which is when this field will not be reported.

locationIdstring nullable

ID Of the location.

multiCameraIdstring nullable
createTimestampstring date-time required

Example response

{
  "name": "My new device",
  "bridgeId": "1000f60d",
  "locationId": "2428fda3-389f-48ce-b062-85875dd6b2e2",
  "createTimestamp": "2023-04-04T09:38:37.372Z"
}