Skip to main content
POST
/
api
/
audiogateway
/
getPresenceWindows
Get audio gateway presence windows
curl --request POST \
  --url https://api2.rhombussystems.com/api/audiogateway/getPresenceWindows \
  --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": {},
  "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 to get stored video information for a device.

deviceUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

durationSec
integer<int64> | null

Duration in seconds

Example:

3600

startTimeSec
integer<int64> | null

Start time in seconds since epoch

Example:

1640995200

Response

200 - application/json

OK

Response containing stored video information for a device.

error
boolean | null
errorMsg
string | null
presenceWindows
object

Map of presence types to their time windows

warningMsg
string | null