Develop > API calls > Package APIs > List the candidate topologies

List candidate topologies

Lists the candidate topologies that can fulfill the given partial topology for the specified lifecycle stage. This API requires lifecycleSatge and topologyId as the parameters.

URI Method Parameters Returns
http://[host]:[port]/csa/api//codar/app-package/composition/{topologyId}/stage/{lifecycleStage} GET
  • lifecycleStage - Obtains the list of application packages for the specified life cycle stage.
  • topologyId

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-package/composition/bda96081-ca7e-4b19-829c-a6ee42b4e551/stage/%2084905d24-d92f-4916-b312-78af206d31a5

The following JSON was returned:

{
"@count": 0,
"members": []
}