update
Use the interface to update firmware. During the update process you can use the get-update-state interface to obtain the current status.
HTTP Request
GET http://ip/mwapi?method=update&mode=xxx
Parameter | Description |
---|---|
method | update |
mode | Indicates the update mode, such as manual indicates to update the device to a specified version manually. |
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. |