All Products
Search
Document Center

Edge Security Acceleration:ListEdgeContainerAppVersions

Last Updated:Nov 15, 2025

Lists versions of all containerized applications.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
esa:ListEdgeContainerAppVersionsnone
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
AppIdstringYes

The application ID, which can be obtained by calling the ListEdgeContainerApps operation.

app-88068867578379****
PageNumberintegerNo

The page number. Valid values: 1 to 65535.

1
PageSizeintegerNo

The number of entries per page. Valid values: 1 to 100.

10
OrderKeystringNo

The sorting field. Valid values:

  • Name: the version name.
  • CreateTime: the time when the version was created.
  • UpdateTime: the time when the version was last modified.
Name
OrderTypestringNo

The order in which you want to sort the query results. Valid values:

  • ASC: in ascending order.
  • DESC: in descending order.
DESC
SearchTypestringNo

The parameter used for fuzzy search. Valid values: VersionId and Name.

VersionId
SearchKeystringNo

The keyword used for the search.

ver-100568263967926****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

F61CDR30-E83C-4FDA-BF73-9A94CDD44229
PageNumberinteger

The page number.

1
PageSizeinteger

The number of entries per page.

10
TotalCountinteger

The total number of entries.

20
Versionsarray<object>

The versions.

Versionobject

The details of the version.

LastPublishTimestring

The time when the version was last released. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in UTC.

2023-02-10T02:48:36Z
PublishTimestring

The time when the version was released. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in UTC.

2023-02-10T02:48:36Z
Statusstring

The status of the current version. Valid values:

  • created
  • failed
  • creating
created
CreateTimestring

The time when the version was created. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in UTC.

2022-11-10T02:53:16Z
AppIdstring

The application ID.

app-88068867578379****
VersionIdstring

The version ID.

ver-87962637161651****
Namestring

The version name.

version01
UpdateTimestring

The time when the version was last modified. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in UTC.

2023-04-16 10:51:00
Remarksstring

The remarks.

test version
Containersarray<object>

The containers in the version.

Containerobject

The container in the version.

EnvVariablesstring

The environment variables of the container.

ENV=prod
Argsstring

The arguments that are passed to the container startup command.

-c a=1
Specstring

The compute specification of the container.

1C2G
Imagestring

The address of the container image.

nginx
Commandstring

The command that is used to start the container.

openresty -g \"daemon off;\"
ProbeTypestring

The probe type of the container.

httpGet
Namestring

The container name.

container1
PreStopstring

The command that is run before the container is stopped.

sh stop.sh
PostStartstring

The command that is run before the container is started. Format: {"exec":{"command":\["cat","/etc/group"\]}}.

If you want to cancel this configuration, set the parameter value to "" or {}. If you do not specify this parameter, this configuration is ignored.

{\"exec\":{\"command\":[\"bash\",\"-c\",\"cd /home/admin/
ProbeContentobject

The container probe content.

SuccessThresholdinteger

The number of consecutive successful health checks required for a container to be considered as healthy.

1
Hoststring

The domain name that is used for health checks.

test.com
HttpHeadersstring

The request headers that are included in the container health check request.

{\"Content-Type\":\"application/json\"}
Schemestring

The protocol that the container health check request uses.

http
InitialDelaySecondsinteger

The latency for container probe initialization.

10
Commandstring

The probe command.

openresty -g "daemon off;
FailureThresholdinteger

The number of consecutive failed health checks required for a container to be considered as unhealthy.

3
TimeoutSecondsinteger

The timeout period of the container health check.

30
Pathstring

The path of the container health check.

/health_check
Portinteger

The port of the container health check.

80
PeriodSecondsinteger

The interval between container health checks.

5

Examples

Sample success responses

JSONformat

{
  "RequestId": "F61CDR30-E83C-4FDA-BF73-9A94CDD44229",
  "PageNumber": 1,
  "PageSize": 10,
  "TotalCount": 20,
  "Versions": [
    {
      "LastPublishTime": "2023-02-10T02:48:36Z\n",
      "PublishTime": "2023-02-10T02:48:36Z",
      "Status": "created",
      "CreateTime": "2022-11-10T02:53:16Z",
      "AppId": "app-88068867578379****",
      "VersionId": "ver-87962637161651****",
      "Name": "version01",
      "UpdateTime": "2023-04-16 10:51:00",
      "Remarks": "test version",
      "Containers": [
        {
          "EnvVariables": "ENV=prod",
          "Args": "-c a=1",
          "Spec": "1C2G",
          "Image": "nginx",
          "Command": "openresty -g \\\"daemon off;\\\"",
          "ProbeType": "httpGet",
          "Name": "container1",
          "PreStop": "sh stop.sh",
          "PostStart": "{\\\"exec\\\":{\\\"command\\\":[\\\"bash\\\",\\\"-c\\\",\\\"cd /home/admin/",
          "ProbeContent": {
            "SuccessThreshold": 1,
            "Host": "test.com",
            "HttpHeaders": "{\\\"Content-Type\\\":\\\"application/json\\\"}",
            "Scheme": "http",
            "InitialDelaySeconds": 10,
            "Command": "openresty -g  \"daemon off;",
            "FailureThreshold": 3,
            "TimeoutSeconds": 30,
            "Path": "/health_check",
            "Port": 80,
            "PeriodSeconds": 5
          }
        }
      ]
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameter.OrderTypeThe specified OrderType is invalid. Please check the OrderType parameter. You may not have set it to either Asc or Desc. Please make the necessary changes and call the interface again.The OrderType parameter is invalid. Please check the OrderType parameter. You may not have set it to Asc or Desc. Please modify it and call the interface again.
400InvalidParameter.OrderKeyThe specified OrderKey is invalid. Please check the OrderKey parameter.The OrderKey parameter is invalid. Please check the OrderKey parameter, as it cannot be assigned illegal characters such as @, #, % etc. Please make the necessary modifications and call the interface again.
400InvalidParameterInvalid parameter. Check the parameter configuration.Invalid parameter. Check the parameter configuration.
400InvalidParameter.appidThe format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID.The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID.
400InvalidPageSize.ValueNotSupportedThe PageSize value is invalid. The default value is set to 20. The acceptable range is between 1 and 500.The request PageSize value is invalid. The default value is 20 and the value range is 1-500.
404InvalidApp.NotFoundThe application does not exist. Check whether the application ID you specified is correct and try again.The application does not exist. Check whether the application ID you specified is correct and try again.
500InternalErrorFailed to call the service. Try again later or contact technical support.Failed to call the service. Try again later or contact technical support.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-11-12The Error code has changed. The response structure of the API has changedView Change Details