Skip to main content
POST
/
api
/
event
/
getMotionGrid
Get motion data for specified camera
curl --request POST \
  --url https://api2.rhombussystems.com/api/event/getMotionGrid \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
  "endTimeUtcSecs": 1641081600,
  "startTimeUtcSecs": 1640995200
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "motionCells": {},
  "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 motion grid data for a device.

deviceUuid
string<DeviceFacetUuid> | null
required

RUUID with optional appended facet information

Example:

"AAAAAAAAAAAAAAAAAAAAAA.v0"

endTimeUtcSecs
integer<int64> | null
required

End time as a UNIX timestamp in seconds

Example:

1641081600

startTimeUtcSecs
integer<int64> | null
required

Start time as a UNIX timestamp in seconds

Example:

1640995200

Response

200 - application/json

OK

Response object containing motion grid data for a device.

error
boolean | null
errorMsg
string | null
motionCells
object

Map of timestamps to motion grid cells

warningMsg
string | null