set-auto-backup

Use the interface face to set auto backup.

Request Mode

POST http://ip/mwapi/set-auto-backup
{
    "autoBackup":1,
    "backupSchedule":1,
    "backupStartTime":1665198834993,
    "backupEndTime":1663927900000
}
Parameter Description
autoBackup Whether to enable auto backup. 0: No 1: Yes
backupSchedule The backup schedule. 0: all day long 1: During the specified time period everyday
backupStartTime The start time of the specified time period everyday, in ms
backupEndTime The end time of the specified time period everyday, in ms

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 ""