Get Breakpoint
Function
This API is used to obtain the upgrade breakpoint position when upgrading an IPC through an NVR.
Request Message
Table 1
Parameter | Range | Type | Description |
---|---|---|---|
token | 0-32 | string | The token for the upgrade process. |
Sample:
POST /API/IPCMaintaint/IPCUpgrade/GetBreakpoint HTTP/1.1
{
"version": "1.0",
"data": {
"token": "xxxxxxxxxxxxxxx"
}
}
Response Message
Parameter Description
Table 2
Parameter | Range | Type | Description |
---|---|---|---|
pos | int | The position to resume the transmission of the upgrade file. |
Sample:
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": "success",
"data": {
"pos": 12267352
}
}
Error Code
See Response Messages Body and Common error_code for more information.