Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 923 Bytes

Data - Default Configuration Status.adoc

File metadata and controls

51 lines (39 loc) · 923 Bytes

Data - Default Configuration Status

A HTTP GET to /api/edge/data.json?data=default_config obtains information on whether the device is operating with no user supplied configuration.

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 status of the configuration.

output Object

Name Type Values Description

is_default

String

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

Whether the device is running the factory default configuration.

Examples

Device Already Configured Response

GET /api/edge/data.json?data=default_config Response
{"success": "1", "output": {"is_default": "0"}}