System Administration > Configuration > Fabric > Containers > Container Applications

Return the List of Container Applications

Returns information about all Container Applications.

Request:

Method:
GET
URI Path(s):
/api/v1/fabric/container-applications
Request Headers:
n/a
Query Parameters:
ContainerObjectsListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/fabric/container-applications

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ContainerApplicationListResult+

Example Response:

{ "results": [ { "external_id": "a1e60b5a-6026-11e9-980c-dca9048e157d", "container_cluster_id": "a19ad270-6026-11e9-980c-dca9048e157d", "container_project_id": "a1ba2e72-6026-11e9-980c-dca9048e157d", "tags": [ { "scope": "dis:k8s:key1", "tag": "val1" } ], "origin_properties": [ { "key": "prop0", "value": "val0" } ], "status": "UP", "resource_type": "ContainerApplication", "display_name": "app-1", "_last_sync_time": 1555405471800 }, { "external_id": "a1e623a6-6026-11e9-980c-dca9048e157d", "container_cluster_id": "a19ad644-6026-11e9-980c-dca9048e157d", "container_project_id": "a1ba3688-6026-11e9-980c-dca9048e157d", "tags": [ { "scope": "dis:k8s:key", "tag": "val" } ], "origin_properties": [ { "key": "prop0", "value": "val0" } ], "status": "DOWN", "resource_type": "ContainerApplication", "display_name": "app-2", "_last_sync_time": 1555405472878 } ], "result_count": 2, "sort_by": "displayName", "sort_ascending": true }

Required Permissions:

read

Feature:

containers_inventory

Additional Errors: