REST Resources

/api/space/device-management/devices/{device-id}/applicable-configlets

The following operation is supported on this resource:

  • GET - Lists the Configlets that are applicable for the Device Family
GET /devices/{device-id}/applicable-configletsVersion 5

Lists the Configlets that are applicable for the Device Family.

Sample Usage

GET /devices/{device-id}/applicable-configlets


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    device-idIntegerPathDevice ID Y
  • Sample Output XML:
    <applicable-configlets total="1" uri="/api/space/device-management/devices/2228251/applicable-configlets">
         <applicable-configlet
               href="/api/space/configuration-management/cli-configlets/491568">
               <id>491568</id>
               <name>SNMPv3 TRAP SETTINGS EX SERIES</name>
               <category>Examples</category>
               <device-family>junos-ex</device-family>
               <latest-version>1.0</latest-version>
               <last-modified-by>SYSTEM</last-modified-by>
               <creation-time>2017-03-07T15:04:52.085+05:30</creation-time>
               <description>Grouped Execution-Device. Description Example- SNMPv3TrapSettings of EX Series.</description>
               <execution-type>Grouped</execution-type>
               <last-updated-time>2017-03-07T15:04:52.083+05:30</last-updated-time>
               <domain-id>32769</domain-id>
               <domain-name>Global</domain-name>
         </applicable-configlet>
    </applicable-configlets>

  • Sample Output JSON:
    {
       "applicable-configlets" : {
         "@total" : "1" ,
         "@uri" : "/api/space/device-management/devices/2228251/applicable-configlets" ,
         "applicable-configlet" : {
           "@href" : "/api/space/configuration-management/cli-configlets/491568" ,
           "id" : 491568 ,
           "name" : "SNMPv3 TRAP SETTINGS EX SERIES" ,
           "category" : "Examples" ,
           "device-family" : "junos-ex" ,
           "latest-version" : "1.0" ,
           "last-modified-by" : "SYSTEM" ,
           "creation-time" : "2017-03-07T15:04:52.085+05:30" ,
           "description" : "Grouped Execution-Device. Description Example- SNMPv3TrapSettings of EX Series." ,
           "execution-type" : "Grouped" ,
           "last-updated-time" : "2017-03-07T15:04:52.083+05:30" ,
           "domain-id" : 32769 ,
           "domain-name" : "Global"
         }
       }
    }

  • Access Control

    The following capabilities are required to access this API: ManageCliTemplatesCap