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

The following operations are supported on this resource:

  • GET - Get all template versions by ID
  • POST - Delete template versions
GET /config-templates/{id}/versionsVersion 3

Get all template versions by ID.

Sample Usage

GET /config-templates/{id}/versions


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    idIntegerPathThe ID of the configuration template. Y
  • Sample Output XML:
    <config-template-versions total="Integer" uri="/api/space/config-template-management/config-templates/{id}/versions">
         <config-template
               href="/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}" uri="/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}">
               <description>String</description>
               <last-update-time-string>String</last-update-time-string>
               <template-deployment-status>String</template-deployment-status>
               <last-update-time>Long</last-update-time>
               <id>Integer</id>
               <name>String</name>
               <current-version>Integer</current-version>
               <device-family>String</device-family>
               <os-version>String</os-version>
               <config-type>CONFIG_TEMPLATE</config-type>
         </config-template>
    </config-template-versions>

  • Sample Output JSON:
    {
       "config-template-versions" : {
         "@total" : "Integer" ,
         "@uri" :
         "/api/space/config-template-management/config-templates/{id}/versions" ,
         "config-template" : {
           "@href" :
           "/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}"
           ,
           "@uri" :
           "/api/space/config-template-management/config-templates/{id}/versions/{currentVersion}"
           ,
           "description" : "String" ,
           "last-update-time-string" : "String" ,
           "template-deployment-status" : "String" ,
           "last-update-time" : "Long" ,
           "id" : "Integer" ,
           "name" : "String" ,
           "current-version" : "Integer" ,
           "device-family" : "String" ,
           "os-version" : "String" ,
           "config-type" : "CONFIG_TEMPLATE"
         }
       }
    }

  • POST /config-templates/{id}/versionsVersion 3

    Sample Usage

    POST /config-templates/{id}/versions


    • Parameters:
      NameTypeURI TypeDescriptionRequired
      idIntegerPathThe ID of the configuration template. Y
  • Sample Input XML:
    <delete-config-template-versions-request>
         <version-list>
               <version>Integer</version>
         </version-list>
    </delete-config-template-versions-request>

  • Sample Input JSON:
    {
       "delete-config-template-versions-request" : {
         "version-list" : {
           "version" : "Integer"
         }
       }
    }

  • Access Control

    The following capabilities are required to access this API: DeleteTemplate