Upgrade

Function

This API is used to IPC upgrade.

Request Message

file data.

Sample:

POST /API/IPCMaintaint/IPCUpgrade/Upgrade HTTP/1.1
{
    "version":"1.0",
    "data":{
    }
}

Response Message

Parameter Description

Table 1
ParameterRangeTypeDescription
ChannelInfoobject arraySee Table 2 for more information.
Table 2
ParameterRangeTypeDescription
channelstringChannel number.
resultstringUpgradeResult.
reasonstringUpgrade error reason.
error_codestringThe error code corresponding to the cause of the upgrade error, see Maintenance > IPCMaintenance > IPCUpgrade_Code for more information.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result":"success",
    "data":
    {
        "upgrade_token":"39fed489f0c82094abbe536bc47eeac4",
        "upgrade_timeout":1800
    }
}

Error Code

See Response Messages Body and Common error_code for more information.