Check touchscreen's sleep mode
1. API Description
This API is used to check the sleep mode of the touchscreen. When it is true, if it is not touched within 1 minute, the touchscreen goes to sleep; when it is false, the touchscreen is always on.
Request mode: POST [ip]/api/chassis/get-screen
Administrator Rights | Logged-in |
---|---|
No | Yes |
2. Input Parameters
None
3. Output Parameters
Name | Type | Description |
---|---|---|
status | Int | Status code |
code | String | Status description |
screen-sleep | Boolean | Whether the sleep mode of touchscreen is enabled true: Yes; false: No |
4. Example
Checking whether the sleep mode of the touchscreen is enabled.
Input Example
None
Output Example
{
"screen-sleep": false,
"status": 0,
"code": "Success"
}
5. Error Code
No error code related to the API business logic. For other error codes, see Common Error Codes.