Develop > API calls > Container APIs > List a container

List a container

Returns the existing container, versions, and number of packages for each life cycle stage for each version of the specified container ID.

URI Method Parameters Returns
http://[host]:[port]/csa/api/container/{containerID} GET Container ID

200 - successful
400 - bad values in the Container ID parameter
403 - not authorized
404 - container does not exist

Examples

The following URL was sent:

https://localhost:8444/csa/api/codar/app-container/8a81855b4cf9cdd6014cfa2981c40004

The following JSON was returned:

{   "@self": "/csa/api/container/topology/8a81855b4cf9cdd6014cfa2981c40004",     "@type": "urn:x-hp:2012:software:cloud:data_model:blueprint:collection",   "@created": "2015-04-27T09:16:06.470Z",   "@modified": "2015-04-29T10:41:54.603Z",   "name": "design1",   "description": "",   "icon": "/csa/api/blobstore/Service_Design.png?tag=library",   "ext":     {      "csa_name_key": "design1",      "csa_critical_system_object": false     }, ...

For complete output, see List a container example.