Skip to content

Latest commit

 

History

History
116 lines (91 loc) · 1.93 KB

Data - System Information.adoc

File metadata and controls

116 lines (91 loc) · 1.93 KB

Data - System Information

A HTTP GET to /api/edge/data.json?data=sys_info obtains basic system information.

Response

Root

Name Type Values Description

success

String

A boolean encapsulated in a string (e.g. "0" or "1")

Whether the API request was successful.

output

Object

output object

The output to the data request.

output Object

Name Type Values Description

sw_ver

String

String

The installed software version.

unms

Object

unms Object

The UNMS status information.

fw-latest

Object

fw-latest Object

The latest known firmware information.

unms Object

Name Type Values Description

daemon

String

Running or Not running

The UNMS daemon status.

status

Empty String

The UNMS status information.

last

Empty String

The time the UNMS' status was last updated.

fw-latest Object

Name Type Values Description

version

String

Firmware Version

The latest software version available online.

url

String

URL

The URL to download the latest firmware from.

md5

String

MD5 Hash

The MD5 hash of the latest firmware.

state

String

up-to-date, can-upgrade, downloading, upgrading or reboot-needed

The firmware upgrade status information.

Examples

Successful Response

GET /api/edge/data.json?data=sys_info Response
{"success": "1", "output": {"sw_ver": "EdgeRouter.ER-e300.v2.0.9-beta.3.5296219.200507.1538", "unms": {"daemon": "Not running", "status": "", "last": ""}, "fw-latest": {"version": "v2.0.8-hotfix.1", "url": "https://fw-download.ubnt.com/data/e300/669e-edgerouter-2.0.8-hotfix.1-752ed9f0476a4cb3adcce84ec537b228.tar", "md5": "d4b30e3821621f16f6e960d753eaf073", "state": "up-to-date"}}}