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 |
True indicates the current firmware is up to date, otherwise it is false. |
version |
Shows the uploaded firmware version. |
size |
Shows the uploaded file size in bytes. |