/api/space/config-template-management/config-templates/{id}/versions/{version-num}

The following operations are supported on this resource:

  • GET - Get configuration template by version
  • DELETE - Delete template version
GET /config-templates/{id}/versions/{version-num}Version 3

Get Config Template By Version.

Sample Usage

GET /config-templates/{id}/versions/{version-num}


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    idIntegerPathThe ID of the configuration template. Y
    version-numIntegerPathThe version number. Y
  • Sample Output XML:
    <config-template-details
         href="/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}" uri="/api/space/config-template-management/config-templates/{id}/versions/{version-num}">
         <id>Integer</id>
         <name>String</name>
         <description>String</description>
         <domain-id>Integer</domain-id>
         <domain-name>String</domain-name>
         <versions total="Integer">
               <version>Integer</version>
         </versions>
         <deployed-tempalte-ver>Integer</deployed-tempalte-ver>
         <state>String</state>
         <config-template-definition
               href="/api/space/config-template-management/config-template-definitions/{id}" uri="/api/space/config-template-management/config-templates/{id}/versions/{version-num}">
               <id>Integer</id>
               <name>String</name>
         </config-template-definition>
         <last-update-time>Long</last-update-time>
         <last-updated-by>String</last-updated-by>
         <last-update-time-string>String</last-update-time-string>
         <template-deployment-status>String</template-deployment-status>
         <current-version>Integer</current-version>
         <schema-id>String</schema-id>
         <device-family>String</device-family>
         <os-version>String</os-version>
         <configuration href="/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}/configuration"/>
         <exec-deploy href="/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}/exec-deploy"/>
         <device-associations href="/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}/device-associations"/>
         <exec-publish href="/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}/exec-publish"/>
         <exec-auditTemplate href="/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}/exec-auditTemplate"/>
         <exec-compareConfig href="/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}/exec-compareConfig"/>
    </config-template-details>

  • Sample Output JSON:
    {
       "config-template-details" : {
         "@href" :
         "/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}"
         ,
         "@uri" :
         "/api/space/config-template-management/config-templates/{id}/versions/{version-num}"
         ,
         "id" : "Integer" ,
         "name" : "String" ,
         "description" : "String" ,
         "domain-id" : "Integer" ,
         "domain-name" : "String" ,
         "versions" : {
           "@total" : "Integer" ,
           "version" : "Integer"
         } ,
         "deployed-tempalte-ver" : "Integer" ,
         "state" : "String" ,
         "config-template-definition" : {
           "@href" :
           "/api/space/config-template-management/config-template-definitions/{id}" ,
           "@uri" :
           "/api/space/config-template-management/config-templates/{id}/versions/{version-num}"
           ,
           "id" : "Integer" ,
           "name" : "String"
         } ,
         "last-update-time" : "Long" ,
         "last-updated-by" : "String" ,
         "last-update-time-string" : "String" ,
         "template-deployment-status" : "String" ,
         "current-version" : "Integer" ,
         "schema-id" : "String" ,
         "device-family" : "String" ,
         "os-version" : "String" ,
         "configuration" : {
           "@href" :
           "/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}/configuration"
         } ,
         "exec-deploy" : {
           "@href" :
           "/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}/exec-deploy"
         } ,
         "device-associations" : {
           "@href" :
           "/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}/device-associations"
         } ,
         "exec-publish" : {
           "@href" :
           "/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}/exec-publish"
         } ,
         "exec-auditTemplate" : {
           "@href" :
           "/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}/exec-auditTemplate"
         } ,
         "exec-compareConfig" : {
           "@href" :
           "/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}/exec-compareConfig"
         }
       }
    }

  • DELETE /config-templates/{id}/versions/{version-num}Version 2

    Sample Usage

    DELETE /config-templates/{id}/versions/{version-num}


    • Parameters:
      NameTypeURI TypeDescriptionRequired
      idIntegerPathID Y
      versionIntegerPathThe version number. Y

    Access Control

    The following capabilities are required to access this API: DeleteTemplate