Configuration Template Management API

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

The following operations are supported on this resource:

  • GET - Gets a configuration template definition

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


This API gets a single configuration template definition.

Access Control

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


Example Usage

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


Parameters

NameTypeURI TypeDescriptionRequired
idIntegerPathThe ID of the configuration template definition to retrieve. Y

Content Types

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


  • Sample Output XML:
    <config-template-definition
         href="/api/space/config-template-management/config-template-definitions/{id}" uri="/api/space/config-template-management/config-template-definitions/{id}">
         <id>Integer</id>
         <name>String</name>
         <description>String</description>
         <state>String</state>
         <published>Boolean</published>
         <os-version>String</os-version>
         <current-version>Integer</current-version>
         <device-family>String</device-family>
         <last-updated-by>String</last-updated-by>
         <last-update-time>String</last-update-time>
         <config-templates 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>
         <configuration href="/api/space/config-template-management/config-template-definitions/{id}/configuration"/>
    </config-template-definition>


  • Sample Output JSON:
    {
       "config-template-definition" : {
         "@href" :
         "/api/space/config-template-management/config-template-definitions/{id}" ,
         "@uri" :
         "/api/space/config-template-management/config-template-definitions/{id}" ,
         "id" : "Integer" ,
         "name" : "String" ,
         "description" : "String" ,
         "state" : "String" ,
         "published" : "Boolean" ,
         "os-version" : "String" ,
         "current-version" : "Integer" ,
         "device-family" : "String" ,
         "last-updated-by" : "String" ,
         "last-update-time" : "String" ,
         "config-templates" : {
           "@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"
           }
         } ,
         "configuration" : {
           "@href" :
           "/api/space/config-template-management/config-template-definitions/{id}/configuration"
         }
       }
    }