set-reboot-when-wake-up

Use the interface to set device automatically rebooting on wake-up.

Request Mode

POST http://ip/mwapi/set-reboot-when-wake-up
{
    "rebootWhenWakeUp":true
}
Parameter Description
rebootWhenWakeUp Automatically reboot the device on wake-up.
True: reboot, False: not reboot

Response Body

{
  "status": 0,
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""