Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 1.06 KB

Config - Download Configuration.adoc

File metadata and controls

58 lines (44 loc) · 1.06 KB

Config - Download Configuration

To download the configuration send a HTTP GET to /api/edge/config/save.json and then make an additional HTTP GET request to /files/config/.

The saved temporary stored file will be deleted once the request has been made.

Response

Root

Name Type Values Description

CONFIG

Object

CONFIG object

The saved configuration information.

success

Boolean

true or false

Whether the API request was successful.

CONFIG Object

Name Type Values Description

success

String

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

Whether the configuration save was successful.

path

String

File path (e.g. /tmp/sysd-save.ycYPpL)

A temporary file path on the local device where the configuration was saved.

Examples

Successful Save Response

GET /api/edge/config/save.json Response
{"CONFIG": {"success": "1", "path": "/tmp/sysd-save.ycYPpL"}, "success": true}