upload-update-file
Use the interface to upload the .mwf file.
HTTP Request
POST http://ip/mwapi?method=upload-update-file
| Parameter |
Description |
| method |
upload-update-file |
Response Body
{
"status": 0,
"up-to-date": true,
"version": "1.1.72",
"size": 11890776
}
| Name |
Description |
| status |
0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |
| up-to-date |
Indicates whether the current firmware is up to date. If yes, it is true; otherwise, it is false. |
| version |
Indicates the uploaded firmware version. |
| size |
Indicates the uploaded file size in bytes. |