Skip to main content
POST
/
api
/
audiogateway
/
getUptimeWindows
Get audio gateway uptime windows
curl --request POST \
  --url https://api2.rhombussystems.com/api/audiogateway/getUptimeWindows \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "endTimeMs": 1643673600000,
  "startTimeMs": 1640995200000
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "uptimeWindows": [
    {
      "durationSeconds": 123,
      "startSeconds": 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 to get uptime information for a device.

deviceUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

endTimeMs
integer<int64> | null

End time in milliseconds since epoch

Example:

1643673600000

startTimeMs
integer<int64> | null

Start time in milliseconds since epoch

Example:

1640995200000

Response

200 - application/json

OK

Response containing uptime information for a device.

error
boolean | null
errorMsg
string | null
uptimeWindows
object[] | null

List of uptime windows for the device

warningMsg
string | null