Develop > API calls > Package APIs > List candidate designs

List candidate designs

Retrieve the service designs for a given partial design (Topology Composition) of the application design.

URI Method Parameters Returns
http://[host]:[port]/csa/api/codar/app-package/composition/{topologyID}/candidateTopology GET Topology ID

200 - successful
400 - bad request
404 - not found

Example

The following URL was sent:

https://localhost:8444/csa/api/codar/app-package/composition/902442d3-700c-4b57-8abb-8d1a52ae3f3d/candidateTopology

The following JSON was sent:

{
"count": 5,
"members" : [ {
"@type" : "urn:x-hp:2013:software:cloud:topology_model:topology",
"@self" : "/csa/api/topology-model/topology/7843ee06-8a5e-425e-ac0d-424e3a297d52",
"id" : "7843ee06-8a5e-425e-ac0d-424e3a297d52",

"iconUrl" : "/csa/designer/img/noimage-lightgray.svg",
"displayName" : "Infra Design",
"description" : "dfs",
...
}  

For complete output, see List candidate designs example.