/api/space/config-file-management/config-files

The following operation is supported on this resource:

GET /config-filesVersion 2

This resource provides a collection of all configuration files backed up to the database.

Sample Usage

GET /config-files


  • Sample Output XML:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <config-files uri="/api/space/config-file-management/config-files" size="1">
      <config-file href="/api/space/config-file-management/config-files/1540111"
        uri="/api/space/config-file-management/config-files/1540111" >
         <device href="/api/space/device-management/devices/655362" rel="device"/>
         <latest-version href= "/api/space/config-file-management/config-files/1540111/config-file-versions/2" rel="latest-version"/>
           <deviceFamily>junos-es</deviceFamily>
           <configFileName>AT5109AF0621.conf</configFileName>
           <latestVersion>2</latestVersion>
           <id>1540111</id>
           <deviceName>host-srx_100_Sambit</deviceName>
           <deviceId>655362</deviceId>
       </config-file>
    </config-files>

  • Sample Output JSON:

    {
      "config-files":{
          "@uri": "/api/space/config-file-management/config-files","@size":"1",
          "config-file":{
            "@href": "/api/space/config-file-management/config-files/1540111",
            "@uri": "/api/space/config-file-management/config-files/1540111",
            "device":{
               "@href": "/api/space/device-management/devices/655362","@rel":"device"},
               "latest-version": {
                  "@href" :"/api/space/config-file-management/config-files/1540111/config-file-versions/2",
                  "@rel":"latest-version"
            },
            "deviceFamily":"junos-es",
            "configFileName": "AT5109AF0621.conf",
            "latestVersion":2,
            "id":1540111,
            "deviceName":"host-srx_100_Sambit",
            "deviceId":655362
          }
      }
    }

  • Access Control

    The following capabilities are required to access this API: ViewConfigFilesCap

      For the deprecated versions of this API, refer to :
    • version 1