🚧 The Rhombus Developer Documentation is currently in beta. For the official documentation, please visit docs.rhombus.com.
curl --request POST \
--url https://api2.rhombussystems.com/api/developer/createEventListener \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"eventListner": {
"activities": [
"SOUND_LOUD"
],
"clientCertificate": [
"aSDinaTvuI8gbWludGxpZnk="
],
"clientKey": [
"aSDinaTvuI8gbWludGxpZnk="
],
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"hostname": "<string>",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"trustedCertificate": [
"aSDinaTvuI8gbWludGxpZnk="
],
"uri": "<string>",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
}
'{
"error": true,
"errorMsg": "<string>",
"eventListenerUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"warningMsg": "<string>"
}Create an event listener
curl --request POST \
--url https://api2.rhombussystems.com/api/developer/createEventListener \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"eventListner": {
"activities": [
"SOUND_LOUD"
],
"clientCertificate": [
"aSDinaTvuI8gbWludGxpZnk="
],
"clientKey": [
"aSDinaTvuI8gbWludGxpZnk="
],
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"hostname": "<string>",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"trustedCertificate": [
"aSDinaTvuI8gbWludGxpZnk="
],
"uri": "<string>",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
}
'{
"error": true,
"errorMsg": "<string>",
"eventListenerUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"warningMsg": "<string>"
}Your API key for Rhombus.
Authentication scheme indicator ("api-token").
9Request object for creating an event listener.
List of event listeners for the specified device
Show child attributes
Was this page helpful?