Querying the Software Information
Function
Queries the software information.
Syntax
Operation type: GET
URL: https://{ip}:{port}/edgemanager/v1/software/edge/version-info?serialNumber={value}
URL Parameters
Parameter |
Mandatory/Optional |
Description |
Value |
|---|---|---|---|
serialNumber |
Mandatory |
Device SN |
The value is a string of up to 64 bytes, which can contain only lowercase letters, uppercase letters, digits, underscores (_), and hyphens (-). The value cannot start or end with an underscore (_) or hyphen (-). |
Usage Example
Request:
GET https://10.10.10.10:30035/edgemanager/v1/software/edge/version-info?serialNumber=2102312NSF10K8000130
Response:
{
"status": "00000000",
"msg": "success",
"data": [
{
"InactiveVersion": "",
"Name": "MEFEdge",
"Version": "x.x.xxx"
}
]
}
Response status code: 200
Parameter |
Type |
Description |
|---|---|---|
status |
String |
Error code |
msg |
String |
Description |
data |
Object |
- |
Parameter |
Type |
Description |
|---|---|---|
InactiveVersion |
String |
Version information to take effect |
Name |
String |
Name of the software to take effect |
Version |
String |
Current software version |
Parent topic: Upgrade APIs