Develop > API calls > Application design APIs > Export an application design

Export an application design

Export an application design by providing the application design ID. The application design is returned in JSON format.

URI Method Parameters Returns
http://[host]:[port]/csa/api/codar/app-design/{applicationDesignID} GET Design ID

200 - successful
400 - bad request
401 - not authorized
404 - not found
500 - internal server error

Example

The following URL was sent:

https://localhost:8444/csa/api/codar/app-design/e57673db-0ee7-4061-8f9e-ffdcabc07b4c

The following JSON was returned:

{
  "@self" : "/csa/api/topology-model/topology/e57673db-0ee7-4061-8f9e-ffdcabc07b4c",

  "@type" : "urn:x-hp:2013:software:cloud:topology_model:topology",
  "groupId" : "com.hp.csa",
  "artifactId" : "3eb835ae-750f-41c9-8861-de70a285ca40",
  "version" : "1.0.0",
  "displayName" : "Test_Design-1",
  "description" : "my design",
  "resources" : [ {
    "id" : "VcenterServer0001",
    "name" : "vCenter Server 1",
    ...
}
}

For complete output, see Export an application design example.