CLI REST-API

read

read [package] [configset]
The "read" command loads a package configuration from the configuration database of
the system. If you specify "all" as the package, the complete configuration set
will be loaded. This is the default if you do not specify any package name.

If no configset name is specified, the "read" command will use "startup", which is
the configset that is loaded automatically during system start.

RESTAPI: The data can be passed in the body like this:
{
    "parameters": {
        "package": "all"
    }
}
NameValueDescriptionExample
packageall
configsetstartup
See also:
diff: shows differences between the system- and the "startup"-configuration set.
write: saves a package configuration to the configuration database.

REST-API Support:


This command is supported by the REST API:

Method: PUT
URL: /api/read
Body:
{
    "parameters": {
        "package": [package]
    }
}

Example using curl:
curl -X PUT /api/read -d 
"{
    \"parameters\": {
        \"package\": \"all\"
    }
}"