Queries container applications.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListContainerApps

The operation that you want to perform. Set the value to ListContainerApps.

PageNumber Integer No 1

The number of the page to return.

Pages start from page 1.

Default value: 1

PageSize Integer No 10

The number of entries to return on each page. Valid values: 1 to 50.

Default value: 10.

Response parameters

Parameter Type Example Description
ContainerApps Array of ContainerApps

The array of container applications.

ContainerApps
CreateTime String 2018-07-18T17:46:47

The time when the container application was created.

Description String ExampleDescription

The description of the container application.

Id String ehpc-container-ABDUGSkjs****

The ID of the container application.

ImageTag String latest

The tag of the image.

Name String ExampleName

The name of the container application.

Repository String busybox

The name of the repository.

Type String singularity

The type of the container application. Valid value: singularity.

PageNumber Integer 1

The page number of the returned page.

RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368

The ID of the request.

PageSize Integer 1

The number of entries returned per page.

TotalCount Integer 1

The total number of entries.

Examples

Sample requests

https://ehpc.cn-hangzhou.aliyuncs.com/?Action=ListContainerApps
&<Common request parameters>

Sample success responses

XML format

<ListContainerAppsResponse>
      <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
      <TotalCount>1</TotalCount>
      <PageNumber>1</PageNumber>
      <PageSize>1</PageSize>
      <ContainerApps>
            <ContainerAppInfo>
                  <Id>ehpc-container-ABDUGSkjs****</Id>
                  <Name>ExampleName</Name>
                  <Description>ExampleDescription</Description>
                  <Repository>busybox</Repository>
                  <ImageTag>latest</ImageTag>
                  <CreateTime>2018-07-18T17:46:47</CreateTime>
                  <Type>singularity</Type>
            </ContainerAppInfo>
      </ContainerApps>
</ListContainerAppsResponse>

JSON format

{
    "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
    "TotalCount": 1,
    "PageNumber": 1,
    "PageSize": 1,
    "ContainerApps": {
        "ContainerAppInfo": [
            {
                "Id": "ehpc-container-ABDUGSkjs****",
                "Name": "ExampleName",
                "Description": "ExampleDescription",
                "Repository": "busybox",
                "ImageTag": "latest",
                "CreateTime": "2018-07-18T17:46:47",
                "Type": "singularity"
            }
        ]
    }
}

Error codes

HttpCode Error code Error message Description
503 ServiceUnavailable The request has failed due to a temporary failure of the server The error message returned because the request has failed. The server is temporarily unavailable.

For a list of error codes, visit the API Error Center.