Develop > Appendix A: API return examples > List candidate designs example

List candidate designs example

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

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",
"version" : "1.0.0",
"artifactId" : "40e0dabd-39e0-4e9f-a53b-4a4b9d8bb60c",
"groupId" : "com.hp.csa",
"published" : true,
"tagIds" : [ {
"@self" : "/csa/api/tag/8a818cf8ara15bc772b0145cb6efjhg99"
} ]
}, {
"@type" : "urn:x-hp:2013:software:cloud:topology_model:topology",
"@self" : "/csa/api/topology-model/topology/9b073143-8969-43c3-85af-1004084ab05d",
"id" : "9b073143-8969-43c3-85af-1004084ab05d",
"iconUrl" : "/csa/designer/img/noimage-lightgray.svg",

"displayName" : "Exst-srvr",
"description" : "",
"version" : "1.0.0",
"artifactId" : "4ce4c900-8760-4ede-9431-31737bc175a4",
"groupId" : "com.hp.csa",
"published" : false,
"tagIds" : [ ]
}, {
"@type" : "urn:x-hp:2013:software:cloud:topology_model:topology",
"@self" : "/csa/api/topology-model/topology/e7690ecf-b552-4ba1-989f-ae3922c25cda",
"id" : "e7690ecf-b552-4ba1-989f-ae3922c25cda",
"iconUrl" : "/csa/designer/img/noimage-lightgray.svg",
"displayName" : "Complete-TD-1",
"description" : "",
"version" : "1.0.0",
"artifactId" : "6eed3374-5112-4118-9f37-791b191acfeb",
"groupId" : "com.hp.csa",
"published" : false,
"tagIds" : [ ]
}, {
"@type" : "urn:x-hp:2013:software:cloud:topology_model:topology",
"@self" : "/csa/api/topology-model/topology/ab0a4b3d-6476-4e24-8fcf-73d4a8122e48",
"id" : "ab0a4b3d-6476-4e24-8fcf-73d4a8122e48",
"iconUrl" : "/csa/designer/img/noimage-lightgray.svg",
"displayName" : "Testing Configure ",
"description" : "",
"version" : "1.0.0",
"artifactId" : "790a9840-2777-422b-8e71-c3f8d87eb997",

"groupId" : "com.hp.csa",
"published" : false,
"tagIds" : [ {
"@self" : "/csa/api/tag/8a818cf8ara15bc772b0145cb6efjhg99"
} ]
}, {
"@type" : "urn:x-hp:2013:software:cloud:topology_model:topology",
"@self" : "/csa/api/topology-model/topology/ac102c58-8cdb-4e65-8083-e1e1c30f464f",

"id" : "ac102c58-8cdb-4e65-8083-e1e1c30f464f",

"iconUrl" : "/csa/designer/img/noimage-lightgray.svg",
"displayName" : "PD-Test_Complete-TD-1",
"description" : "",
"version" : "1.0.0",
"artifactId" : "a4c87694-3a68-43f7-899a-05279a64a983",
"groupId" : "com.hp.csa",
"published" : false,
"tagIds" : [ ]
} ]
}