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

The following operation is supported on this resource:

  • GET - Get all available versions for the template
GET /templates/{template-id}/template-versionsVersion 2

Sample Usage

GET /templates/{template-id}/template-versions


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    templateidStringPathThe ID of the configuration template. Y
  • Sample Output XML:
    <template-versions total="Integer" uri="/api/space/config-template-management/templates/{template-id}/template-versions">
         <version
               href="/api/space/config-template-management/templates/{template-id}/template-versions/{version}" uri="/api/space/config-template-management/templates/{template-id}/template-versions/{version}">
               <content>String</content>
               <deploy-status>String</deploy-status>
               <modified-time>java.sql.Timestamp</modified-time>
               <number>String</number>
         </version>
    </template-versions>

  • Sample Output JSON:
    {
       "template-versions" : {
         "@total" : "Integer" ,
         "@uri" :
         "/api/space/config-template-management/templates/{template-id}/template-versions"
         ,
         "version" : {
           "@href" :
           "/api/space/config-template-management/templates/{template-id}/template-versions/{version}"
           ,
           "@uri" :
           "/api/space/config-template-management/templates/{template-id}/template-versions/{version}"
           ,
           "content" : "String" ,
           "deploy-status" : "String" ,
           "modified-time" : "java.sql.Timestamp" ,
           "number" : "String"
         }
       }
    }