Get uptime stats

GET {{baseUrl}}/v1/uptime?since=<string>&until=<string>&deviceUid=<string>

Get device connection uptime for the device.

Request Params

KeyDatatypeRequiredDescription
sincestringDefault date is month ago
untilstringDefault date is today
deviceUidstringAll devices per organization are included by default and you can specify one device by its uid

HEADERS

KeyDatatypeRequiredDescription
x-authstringAuthorization key and token
Acceptstring

RESPONSES

status: OK

{&quot;uptime&quot;:&quot;\u003cinteger\u003e&quot;,&quot;downtime&quot;:&quot;\u003cinteger\u003e&quot;,&quot;total&quot;:&quot;\u003cinteger\u003e&quot;,&quot;availabilityPercent&quot;:&quot;\u003cinteger\u003e&quot;,&quot;since&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;until&quot;:&quot;\u003cdateTime\u003e&quot;}