Skip to main content
POST
/
api
/
door
/
getDoorPresenceWindows
Get stored video information for sensor
curl --request POST \
  --url https://api2.rhombussystems.com/api/door/getDoorPresenceWindows \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "durationSec": 3600,
  "startTimeSec": 1640995200
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "presenceWindows": [
    {
      "durationSeconds": 123,
      "startSeconds": 123
    }
  ],
  "warningMsg": "<string>"
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request object for retrieving stored video information for a sensor.

deviceUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

durationSec
integer<int64> | null

Duration in seconds for the presence window query

Example:

3600

startTimeSec
integer<int64> | null

Start time in seconds for the presence window query

Example:

1640995200

Response

200 - application/json

OK

Response object containing stored video information for a sensor.

error
boolean | null
errorMsg
string | null
presenceWindows
object[] | null

List of presence windows for the sensor

warningMsg
string | null