Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 333 Bytes

uptime.md

File metadata and controls

28 lines (16 loc) · 333 Bytes

Uptime

Get the uptime of the device in seconds

URL : /api/uptime

Method : GET

Auth required : YES

Success Response

Code : 200 OK

Content example

{
    "uptime": 123
}

Error Response

Condition : If 'username' and 'password' combination is wrong.

Code : 401 Forbidden