Device Management API

/api/space/device-management/devices/{id}/configurations

The following operations are supported on this resource:

GET /api/space/device-management/devices/{id}/configurations (v1)


This API is used to access configuration options for a single device.

Access Control

The following capabilities are required to access this API:
"ReadDevices"


Example Usage

GET /api/space/device-management/devices/{id}/configurations


Parameters

NameTypeURI TypeDescriptionRequired
device-idIntegerPathThe ID of the device from which to retrieve the configuration options. Y

Content Types

  • Produces content types:
    application/vnd.net.juniper.space.device-management.configurations+xml;version=1
    application/vnd.net.juniper.space.device-management.configurations+json;version=1


  • Sample Output XML:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <configurations>
       <expanded-configuration href="/api/space/device-management/devices/229377/configurations/expanded" rel="expanded configuration"/>
       <raw-configuration href="/api/space/device-management/devices/229377/configurations/raw" rel="raw configuration"/>
    </configurations>


  • Sample Output JSON:

    {
    "configurations":
    {
       "expanded-configuration":
       {
          "@href":"/api/space/device-management/devices/229377/configurations/expanded",
          "@rel":"expanded configuration"
       },
       "raw-configuration":
       {
          "@href":"/api/space/device-management/devices/229377/configurations/raw",
          "@rel":"raw configuration"
       }
    }
    }