Configuration Template Management API

/api/space/config-template-management/config-template-definitions/{id}/config-templates

The following operations are supported on this resource:

  • GET - Gets all configuration templates using a configuration template definition

GET /api/space/config-template-management/config-template-definitions/{id}/config-templates (v1)


This API gets all configuration templates that are using a specified configuration template definition.

Access Control

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


Example Usage

GET /api/space/config-template-management/config-template-definitions/{id}/config-templates


Parameters

NameTypeURI TypeDescriptionRequired
idIntegerPathThe ID of the configuration template definition. Y

Content Types

  • Produces content types:
    application/vnd.net.juniper.space.config-template-management.config-template-refs+xml;version=1;q=0.01
    application/vnd.net.juniper.space.config-template-management.config-template-refs+json;version=1;q=0.01


  • Sample Output XML:
    <config-templates total="Integer" uri="/api/space/config-template-management/config-template-definitions/{id}/config-templates">
         <config-template
               href="/api/space/config-template-management/config-templates/{id}" uri="/api/space/config-template-management/config-template-definitions/{id}/config-templates/{id}">
               <id>Integer</id>
               <name>String</name>
         </config-template>
    </config-templates>


  • Sample Output JSON:
    {
       "config-templates" : {
         "@total" : "Integer" ,
         "@uri" :
         "/api/space/config-template-management/config-template-definitions/{id}/config-templates"
         ,
         "config-template" : {
           "@href" : "/api/space/config-template-management/config-templates/{id}" ,
           "@uri" :
           "/api/space/config-template-management/config-template-definitions/{id}/config-templates/{id}"
           ,
           "id" : "Integer" ,
           "name" : "String"
         }
       }
    }