Get uptime stats
GET {{baseUrl}}/v1/uptime?since=<string>&until=<string>&deviceUid=<string>
Get device connection uptime for the device.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
since | string | Default date is month ago | |
until | string | Default date is today | |
deviceUid | string | All devices per organization are included by default and you can specify one device by its uid |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-auth | string | Authorization key and token | |
Accept | string |
RESPONSES
status: OK
{"uptime":"\u003cinteger\u003e","downtime":"\u003cinteger\u003e","total":"\u003cinteger\u003e","availabilityPercent":"\u003cinteger\u003e","since":"\u003cdateTime\u003e","until":"\u003cdateTime\u003e"}