REST Resources
-
/ -
/acknowledge-device-fingerprint -
/change-device-credentials -
/delete-device-discovery-rules -
/delete-devices -
/device-discovery-rules -
/device-discovery-rules /{id} -
/devices -
/devices /{device-id} /activate-modeled-device -
/devices /{device-id} /applicable-configlets -
/devices /{device-id} /apply-cli-configlet -
/devices /{device-id} /associated-softwares -
/devices /{device-id} /clone -
/devices /{device-id} /compute-configlet-parameter-values -
/devices /{device-id} /configlet -
/devices /{device-id} /configurations /expanded -
/devices /{device-id} /configurations /raw -
/devices /{device-id} /submit-cli-configlet -
/devices /{device-id} /validate-cli-configlet -
/devices /{deviceid} /customized-attribute-values -
/devices /{deviceid} /customized-attribute-values /{id} -
/devices /{id} -
/devices /{id} /associated-scripts -
/devices /{id} /change-requests -
/devices /{id} /configurations -
/devices /{id} /configurations /expanded /match-content -
/devices /{id} /configurations /raw /match-content -
/devices /{id} /connection-status -
/devices /{id} /exec-resync -
/devices /{id} /exec-rpc -
/devices /{id} /managed-elements -
/devices /{id} /managed-status -
/devices /{id} /modify-device-target-ip -
/devices /{id} /view-customized-attributes -
/discover-devices -
/discoveryresult /{id} -
/get-device-statistics -
/get-syslog-events -
/job-instances /{job-id} /acknowledge-fingerprint-job-results -
/job-instances /{job-id} /delete-devices-job-results -
/job-instances /{job-id} /discovery-job-results -
/job-instances /{job-id} /exec-rpc-job-results -
/job-instances /{job-id} /reboot-devices-job-results -
/job-instances /{job-id} /resync-devices-job-results -
/job-instances /{job-id} /rsa-key-transfer-job-results -
/reactivate-devices-from-rma -
/reboot-devices -
/resolve-key-conflict -
/resync-devices -
/stop-syslog-events -
/stop-syslog-events /{id} -
/upload-keys
/api/space/device-management/devices/{device-id}/configurations/expanded (v1)
The following operations are supported on this resource:
-
GET- Get expanded configuration for device
(Deprecated) | Version 1 |
This API is used to access configuration data with configuration groups expanded (using the inherit="inherit" option of the Junos OS "get-configuration" RPC).
Fields Selection
A particular section of configuration can be fetched using the 'fields' criteria. For example:
fields=(version,system:(login:(user)))
These fields should be nested properly to get the required configuration content. For example, a 'fields' selection passed as fields=(version) will fetch only version information. (See the sample output below.)
.Sample Usage
GET /devices/{device-id}/configurations/expanded
-
Parameters:
Name Type URI Type Description Required device-id Integer Path The ID of the device from which to get the expanded configuration content. Y
-
Accept Headers:
application/vnd.net.juniper.space.device-management.expanded-configuration+xml;version=1
application/vnd.net.juniper.space.device-management.expanded-configuration+json;version=1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<expanded-configuration>
<configuration><version>10.0R2.10</version></
configuration>
<method href="/api/space/device-management/devices/229377/configurations/raw/match-content"
rel="match device configuration"/>
</expanded-configuration>
{
"expanded-configuration":
{
"configuration":
"10.0R2.10 ",
"method":
{
"@href":
"/api/space/device-management/devices/229377/configurations/expanded/match-content",
"@rel":"match device configuration"
}
Access Control
The following capabilities are required to access this API: DeviceConfiguration
For the current version of this API, refer to :