/status/system/config¶
Use
Use to view the running and startup config and differences between the two.
Data Type¶
subtree
Request Methods¶
GET
Examples¶
GET
curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/system/config
GET Response
{"/status/system/config": {"data": None,
"default": False,
"defaultAllowed": False,
"deleteAllowed": False,
"numChildren": 4,
"type": "subtree"},
"httpResponseCode": 200,
"recurse": False,
"requestPath": "/status/system/config"}
GET (list children)
curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/system/config?op=list
GET Response
{"/status/system/config": {"children": {"/status/system/config/diff": {"default": False,
"defaultAllowed": False,
"deleteAllowed": False,
"numChildren": 0,
"type": "string"},
"/status/system/config/modified": {"default": False,
"defaultAllowed": False,
"deleteAllowed": False,
"numChildren": 0,
"type": "uint32"},
"/status/system/config/running": {"default": False,
"defaultAllowed": False,
"deleteAllowed": False,
"numChildren": 2,
"type": "string"},
"/status/system/config/startup": {"default": False,
"defaultAllowed": False,
"deleteAllowed": False,
"numChildren": 0,
"type": "string"}},
"default": False,
"defaultAllowed": False,
"deleteAllowed": False,
"numChildren": 4,
"type": "subtree"},
"httpResponseCode": 200,
"recurse": False,
"requestPath": "/status/system/config"}
GET (recursively list children)
curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/system/config?level=recurse
- /status/system/config 1. 1. Data Type 2. Request Methods 3. Examples