Skip to main content
POST
/
api
/
export
/
motionEvents
Download motion event log for motion sensors
curl --request POST \
  --url https://api2.rhombussystems.com/api/export/motionEvents \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "createdAfterMs": 1640995200000,
  "createdBeforeMs": 1641081600000
}
'
{}

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 exporting motion events from motion sensors with time filtering.

deviceUuid
string<RUUID> | null
required

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

createdAfterMs
integer<int64> | null

After datetime provided as a UNIX timestamp in milliseconds

Required range: x >= 0
Example:

1640995200000

createdBeforeMs
integer<int64> | null

Before datetime provided as a UNIX timestamp in milliseconds

Required range: x >= 0
Example:

1641081600000

Response

200 - application/json
object | null

OK

The response is of type object.