3.10.2 Upgrade
Upgrade state info
URL: | https://{{ip_addr}}/api/v1/maintenance/upgrade |
HTTP method: | GET |
Response code: | Standard HTTP response code, treating syntactic errors. |
Response data: | {
"data": {
"fwVersion": "4.2.0",
"isDowngrade": false,
"status": 0,
"wipeData": false
}
}
|
Upload firmware
URL: | https://{{ip_addr}}/api/v1/maintenance/upgrade/upload |
HTTP method: | PUT |
| Request body: | form-data:
|
Response code: | Standard HTTP response code, treating syntactic errors.
|
Response data: | {
"data": {
"fwVersion": "4.2.0",
"isDowngrade": false,
"status": 1,
"wipeData": false
}
}
|
Start upgrade
URL: | https://{{ip_addr}}/api/v1/maintenance/upgrade/start |
HTTP method: | PUT |
| Request body: | {"wipeData":true}
|
Response code: | Standard HTTP response code, treating syntactic errors. |
Response data: | {
"data": {
"fwVersion": "4.2.0",
"isDowngrade": false,
"status": 2,
"wipeData": true
}
}
|
Cancel upgrade
URL: | https://{{ip_addr}}/api/v1/maintenance/upgrade/cancel |
HTTP method: | PUT |
Response code: | Standard HTTP response code, treating syntactic errors.
|
Response data: | {
"data": {
"fwVersion": "4.2.0",
"isDowngrade": false,
"status": 0,
"wipeData": true
}
}
|
