Skip to main content
POST
/
api
/
event
/
searchMotionGrid
Search motion grid for motion events occuring in specified grid cells
curl --request POST \
  --url https://api2.rhombussystems.com/api/event/searchMotionGrid \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
  "endTimeUtcSecs": 1641081600,
  "searchCells": [
    {
      "col": 5,
      "row": 3
    }
  ],
  "startTimeUtcSecs": 1640995200
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "timeUtcSecsList": [
    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 searching motion grid data.

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

searchCells
object[] | null
required

List of motion grid cells to include in the search

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 search results.

error
boolean | null
errorMsg
string | null
timeUtcSecsList
(integer<int64> | null)[] | null

List of timestamps where motion was detected in the specified cells

List of timestamps where motion was detected in the specified cells

warningMsg
string | null