REST Resources

/api/space/device-management/devices/{device-id}/configurations/raw (v2)

The following operations are supported on this resource:

  • GET - Get Raw device configuration
GET /devices/{device-id}/configurations/raw
(Deprecated)
Version 2

This API is used to access raw configuration content of a device without expanding configuration groups.

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, the 'fields' selection passed as fields=(version) will fetch only version information. (See the sample output below.)

.

Sample Usage

GET /devices/{device-id}/configurations/raw


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    device-idIntegerPathThe ID of the device whose raw configuration content will be accessed. Y
  • Sample Output XML:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <raw-configuration>
       <configuration><version>10.0R2.10</version></ configuration>
       <method href= "/api/space/device-management/devices/229377/configurations/raw/match-content" rel="match device configuration"/>
    </raw-configuration>

  • Sample Output JSON:

    {
    "raw-configuration":
    {
       "configuration":"{'configuration': {'version': '10.1R2.8122'}}",
       "method":
       {
          "@href": "/api/space/device-management/devices/229377/configurations/raw/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 :
    • version 3