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

Table 1 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

Table 2 Operation output description

Parameter

Type

Description

status

String

Error code

msg

String

Description

data

Object

-

Table 3 data field description

Parameter

Type

Description

InactiveVersion

String

Version information to take effect

Name

String

Name of the software to take effect

Version

String

Current software version