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>"
}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 object for creating an event listener.
List of event listeners for the specified device
Show child attributes
Was this page helpful?