/upgrade/update

Use the interface to update firmware. During the update process you can use the /upgrade/state interface to retrieve the current status.

Request Mode

POST /api/upgrade/update
Parameter Description
is-online False: offline upgrade
True: online upgrade
mode The upgrade mode
0: Auto, which automatically selects Upgrade/Factory/FactoryClear mode
1: Upgrade
2: Factory
3: FactoryClear
timeout Upgrade fails with timeout (upgrade progress keeps unchanged), in seconds

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