curl --request POST \
--url https://api2.rhombussystems.com/api/button/getButtonPressEventsForSensor \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"createdAfterMs": 1640995200000,
"createdBeforeMs": 1640995200000,
"limit": 100,
"sensorUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'{
"error": true,
"errorMsg": "<string>",
"events": [
{
"buttonPress": "NONE",
"componentCompositeUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"newSupervisionState": "CUT_DETECTED",
"pressDurationMillis": 123,
"componentUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"correlationId": "<string>",
"createdAtMs": 123,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"ownerDeviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"timestampMs": 123,
"type": "DoorbellEvent",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
],
"warningMsg": "<string>"
}Get list of button press events for button sensor
curl --request POST \
--url https://api2.rhombussystems.com/api/button/getButtonPressEventsForSensor \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"createdAfterMs": 1640995200000,
"createdBeforeMs": 1640995200000,
"limit": 100,
"sensorUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'{
"error": true,
"errorMsg": "<string>",
"events": [
{
"buttonPress": "NONE",
"componentCompositeUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"newSupervisionState": "CUT_DETECTED",
"pressDurationMillis": 123,
"componentUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"correlationId": "<string>",
"createdAtMs": 123,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"ownerDeviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"timestampMs": 123,
"type": "DoorbellEvent",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
],
"warningMsg": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://api-docs.rhombus.community/llms.txt
Use this file to discover all available pages before exploring further.
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
api-token, api, partner-api-token, partner-api Request to get button press events for a specific sensor.
Timestamp in milliseconds to get events created after this time
1640995200000
Timestamp in milliseconds to get events created before this time
1640995200000
Maximum number of events to return
100
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Was this page helpful?