Configuration Template Management API

/api/space/config-template-management/config-template-definitions

The following operations are supported on this resource:

  • GET - Get all configuration template definitions

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


This API gets all configuration template definitions.

Access Control

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


Example Usage

GET /api/space/config-template-management/config-template-definitions

Content Types

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


  • Sample Output XML:
    <config-template-definitions total="Integer" uri="/api/space/config-template-management/config-template-definitions">
         <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-template-definition>
    </config-template-definitions>


  • Sample Output JSON:
    {
       "config-template-definitions" : {
         "@total" : "Integer" ,
         "@uri" : "/api/space/config-template-management/config-template-definitions"
         ,
         "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"
         }
       }
    }