Develop > Appendix A: API return examples > List a container example

List a container example

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

The following URL was sent:

https://csa-server: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     },       "tags": [ {         "@self": "/csa/api/tag/8a818cf8ara15bc772b0145cb6efjhg99",         "@type": "urn:x-hp:2012:software:cloud:data_model:tag",         "name": "Application",         "description": "Codar Application",         "icon": "/csa/api/blobstore/management-darkgray.svg?tag=library",         "color": "",         "scopes": [ "APPLICATION_ARTIFACT_CONTAINER" ]     } ],         "members": [ {            "@self": "/csa/api/service/design/bb8d6c92-ff61-4ada-90be-da82363d841f",            "@type": "urn:x-hp:2012:software:cloud:data_model:blueprint",            "@created": "2015-04-29T10:41:54.603Z",            "description": "this is 3rd version of the design",            "published": null,            "version": "4.0.0",            "members": [ {              "stage": "DEVELOPMENT",              "count": 0          }, {             "stage": "TESTING",             "count": 0         }, {             "stage": "STAGING",             "count": 0         }, {             "stage": "PRODUCTION",             "count": 0          } ]      }, {           "@self": "/csa/api/service/design/cfe17c5a-df0d-4063-a538-d6a301085141",           "@type": "urn:x-hp:2012:software:cloud:data_model:blueprint",           "@created": "2015-04-29T06:05:48.507Z",           "description": "",           "published": null,           "version": "2.0.0",           "members":      [ {          "stage": "DEVELOPMENT",          "count": 2      }, {          "stage": "TESTING",          "count": 1      }, {          "stage": "STAGING",          "count": 0      }, {          "stage": "PRODUCTION",          "count": 0      } ]      }, {           "@self": "/csa/api/service/design/3dbe26ae-f629-4556-b8ce-b27d34a80193",           "@type": "urn:x-hp:2012:software:cloud:data_model:blueprint",           "@created": "2015-04-27T09:16:10.970Z",           "description": "",           "published": null,           "version": "1.0.0",           "members":       [ {           "stage": "DEVELOPMENT",           "count": 2      }, {           "stage": "TESTING",           "count": 0      }, {           "stage": "STAGING",           "count": 0      }, {           "stage": "PRODUCTION",           "count": 0      } ]      }, {           "@self": "/csa/api/service/design/4e47e409-1209-4826-aebc-c535c93a7057",           "@type": "urn:x-hp:2012:software:cloud:data_model:blueprint",           "@created": "2015-04-29T08:51:48.117Z",           "description": "",           "published": null,           "version": "3.0.0",           "members":      [ {          "stage": "DEVELOPMENT",          "count": 0     }, {          "stage": "TESTING",          "count": 0     }, {          "stage": "STAGING",          "count": 0     }, {          "stage": "PRODUCTION",          "count": 0     } ]     } ],          "@total_results": 4,          "@items_per_page": 4,          "@start_index": 0 }