Develop > API calls > Application life cycle APIs > List design versions

List design versions

Lists all application designs and their versions that are associated with the specified lifecycle stage.

URI Method Parameters Returns
http://[host]:[port]/api/codar/app-lifecycle/stages/{stageId}/design GET stageId - Id of the lifecycle stage

200 - Successful to list life cycle stages found
400 - Bad request
500 - Internal Server error

Example

The following URL was sent:

https://localhost:8444/csa/api/codar/app-lifecycle/stages/{stageId}/design

The following JSON was returned:

https://localhost:8444/csa/api/codar/app-lifecycle/stages/84905d24-d92f-4916-b312-78af206d31a5/design

The following JSON was returned:

{
  "@self": "/csa/api/codar/app-lifecycle/stages/84905d24-d92f-4916-b312-78af206d31a5",
  "@type": "urn:x-hp:2012:software:cloud:data_model:lifeCycleStage",
  "name": "DEVELOPMENT",
  "displayName": "test stage1",
  "description": "test stage1 desc",
  "icon": "/csa/api/blobstore/Service_Design.png?tag=library",
  "color": "#ffffff",
  "members": [
    {
      "@self": "/csa/csa/api/container/topology/8a8186da510f5cd801510f6868160155",
      "@type": "urn:x-hp:2012:software:cloud:data_model:topology:collection",
      "createdOn": "2015-11-16 13:57:59.383",
      "modified": "2015-11-16 13:57:59.383",
      "name": "PetClinic Application on Existing Servers",
      "description": "A two-tier PetClinic Application with Database component installed on MySQL and Application component on Tomcat Server. These components are deployed on Existing Servers.",
      "icon": "/csa/images/library/pets.png",
      "members": [
        {
          "@self": "/csa/csa/api/designs/design/f78a358e-28d0-4690-95ee-644697765bcb",
          "@type": "urn:x-hp:2012:software:cloud:data_model:topology",
          "createdOn": "2015-05-22 17:42:16.733",
          "description": "A two-tier PetClinic Application with Database component installed on MySQL and Application component on Tomcat Server. These components are deployed on Existing Servers.",
          "version": "1.50.00"
        }
      ]
    },
    {
      "@self": "/csa/csa/api/container/topology/8a8186da510f5cd80151347d4f7626ec",
      "@type": "urn:x-hp:2012:software:cloud:data_model:topology:collection",
      "createdOn": "2015-11-23 18:46:46.327",
      "modified": "2015-11-23 18:46:46.327",
      "name": "HDP Node Chat Application",
      "description": "HDP Node Chat Application",
      "icon": "/csa/images/library/Exchange_solutions_RGB_blue_NT.png",
      "members": [
        {
          "@self": "/csa/csa/api/designs/design/8611a60a-fc81-4005-9b1b-14c6ae5cbaa2",
          "@type": "urn:x-hp:2012:software:cloud:data_model:topology",
          "createdOn": "2015-11-23 18:46:46.433",
          "description": "HDP Node Chat Application",
          "version": "1.60.00"
        }
      ]
    },
    {
      "@self": "/csa/csa/api/container/topology/8a8186da510f5cd80151238b98aa02af",
      "@type": "urn:x-hp:2012:software:cloud:data_model:topology:collection",
      "createdOn": "2015-11-20 11:48:49.897",
      "modified": "2015-11-20 11:48:49.897",
      "name": "XI app",
      "description": "",
      "icon": "/csa/images/library/Service_Design.png",
      "members": [
        {
          "@self": "/csa/csa/api/designs/design/980aa84e-2b04-48f3-af18-7b2595716abb",
          "@type": "urn:x-hp:2012:software:cloud:data_model:topology",
          "createdOn": "2015-11-20 11:48:50.307",
          "description": "",
          "version": "1.0.0"
        }
      ]
    },
    {
      "@self": "/csa/csa/api/container/topology/8a8186da510f5cd801510f68522400fa",
      "@type": "urn:x-hp:2012:software:cloud:data_model:topology:collection",
      "createdOn": "2015-11-16 13:57:53.763",
      "modified": "2015-11-16 13:57:53.763",
      "name": "PetClinic Application with Load Balancer",
      "description": "A PetClinic Application with scalable stack and Apache Load Balancer. This is a partial design which requires the Database and Application server microservices for fulfillment.",
      "icon": "/csa/images/library/pets.png",
      "members": [
        {
          "@self": "/csa/csa/api/designs/design/d86f5445-e930-45ef-b8c8-5c9cae860541",
          "@type": "urn:x-hp:2012:software:cloud:data_model:topology",
          "createdOn": "2015-05-29 21:21:40.363",
          "description": "A PetClinic Application with scalable stack and Apache Load Balancer. This is a partial design which requires the Database and Application server microservices for fulfillment.",
          "version": "1.50.00"
        }
      ]
    },
    {
      "@self": "/csa/csa/api/container/topology/8a8186da510f5cd801510f6827920052",
      "@type": "urn:x-hp:2012:software:cloud:data_model:topology:collection",
      "createdOn": "2015-11-16 13:57:42.867",
      "modified": "2015-11-16 13:57:42.867",
      "name": "PetClinic Application on vCenter",
      "description": "A two-tier PetClinic Application with Database component installed on MySQL and Application component on Tomcat Server. These components are deployed on vCenter Servers.",
      "icon": "/csa/images/library/pets.png",
      "members": [
        {
          "@self": "/csa/csa/api/designs/design/cfc40fe6-7884-4e74-93c1-a8f91e02e422",
          "@type": "urn:x-hp:2012:software:cloud:data_model:topology",
          "createdOn": "2015-05-29 10:00:11.507",
          "description": "A two-tier PetClinic Application with Database component installed on MySQL and Application component on Tomcat Server. These components are deployed on vCenter Servers.",
          "version": "1.50.00"
        }
      ]
    },
    {
      "@self": "/csa/csa/api/container/topology/8a8186da510f5cd801510f682f3e006c",
      "@type": "urn:x-hp:2012:software:cloud:data_model:topology:collection",
      "createdOn": "2015-11-16 13:57:44.83",
      "modified": "2015-11-16 13:57:44.83",
      "name": "PetClinic Application",
      "description": "A partial PetClinic Application design requiring an infrastructure with Database and Application Server for fulfillment.",
      "icon": "/csa/images/library/pets.png",
      "members": [
        {
          "@self": "/csa/csa/api/designs/design/c0929227-1fbb-4f9f-b8e4-e587938c42d7",
          "@type": "urn:x-hp:2012:software:cloud:data_model:topology",
          "createdOn": "2014-11-04 19:27:45.687",
          "description": "A partial PetClinic Application design requiring an infrastructure with Database and Application Server for fulfillment.",
          "version": "1.50.00"
        }
      ]
    }
  ]
}