Querying the Software Download Progress
Function
Queries the download progress.
Syntax
Operation type: GET
URL: https://{ip}:{port}/edgemanager/v1/software/edge/download-progress?serialNumber={value}
URL Parameters
Parameter |
Type |
Description |
Value |
|---|---|---|---|
serialNumber |
Mandatory |
Device SN |
The value is a string of up to 64 bytes, which can contain uppercase letters, lowercase letters, underscores (_), and hyphens (-). It cannot start or end with underscores (_) or hyphens (-). It must start or end with a letter or digit. |
Usage Example
Request:
GET https://10.10.10.10:30035/edgemanager/v1/software/edge/download-progress?serialNumber=2102312NSF10K8000130
Response:
{
"status": "00000000",
"msg": "success",
"data": {
"msg": "",
"progress": 50,
"res": "success"
}
}
Response status code: 200
Output Description
Parameter |
Type |
Description |
|---|---|---|
status |
String |
Error code |
msg |
String |
Description |
data |
Object |
- |
Parameter |
Type |
Description |
|---|---|---|
msg |
String |
Detailed status information |
progress |
uint64 |
Download progress |
res |
String |
Download result. The value can be success or failed. |
Parent topic: Upgrade APIs