All Products
Search
Document Center

Enterprise Distributed Application Service:ListRecentChangeOrder

Last Updated:Mar 01, 2024

Queries the change processes of an application.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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:
    • The required resource types are displayed in bold characters.
    • 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
edas:ReadApplicationRead
  • Application
    acs:edas:{#regionId}:{#accountId}:namespace/{#NameSpaceId}/application/{#AppId}
    none
none

Request syntax

POST /pop/v5/changeorder/change_order_list

Request parameters

ParameterTypeRequiredDescriptionExample
AppIdstringYes

The ID of the application.

3616cdca-4f92-4413-****-************

Response parameters

ParameterTypeDescriptionExample
object
Codeinteger

The HTTP status code that is returned.

200
Messagestring

The additional information that is returned.

success
RequestIdstring

The ID of the request.

D16979DC-4D42-************
ChangeOrderListobject []

The information about change processes.

Statusinteger

The state of the change process. Valid values:

  • 0: ready to start execution
  • 1: in progress
  • 2: successful
  • 3: failed
  • 6: terminated
  • 8: waiting for manual confirmation (You can see the state when you manually confirm the execution of the next batch of the change.)
  • 9: waiting for automatic execution
  • 10: failed due to a system error
2
FinishTimestring

The time when the change process ended.

2019-11-13 14:24:02
CreateTimestring

The time when the change process was created.

2019-11-13 14:23:46
UserIdstring

The ID of the user who created the change process.

1432536****
ChangeOrderDescriptionstring

The description of the change process.

Version: 2020-05-14 20:02:33 | Deployment Package: hsf-pandora-boot-provider-1.0.jar | Deploy to: all groups
Sourcestring

The source of the change. Valid values:

  • console: the Enterprise Distributed Application Service (EDAS) console
  • pop: the POP API or tool
pop
BatchCountinteger

The number of batches for the change. Valid values: 1 to 5.

1
CreateUserIdstring

The user who created the change process.

edas_test1@aliyun-test.com
CoTypeCodestring

The type of the change process.

CoDeploy
ChangeOrderIdstring

The unique ID of the change process.

1074f3e2-e974-4a0e-****-************
BatchTypestring

The way in which the next batch is triggered during a phased release. Valid values:

  • Automatic
  • Manual
Automatic
GroupIdstring

The ID of the application instance group on which the change was performed.

8123db90-880f-486f-****-************
CoTypestring

The type of the change process.

Application Scale Out
AppIdstring

The ID of the application.

3616cdca-4f92-4413-****-************

Examples

Sample success responses

JSONformat

{
  "Code": 200,
  "Message": "success",
  "RequestId": "D16979DC-4D42-************",
  "ChangeOrderList": {
    "ChangeOrder": [
      {
        "Status": 2,
        "FinishTime": "2019-11-13 14:24:02",
        "CreateTime": "2019-11-13 14:23:46",
        "UserId": "1432536****",
        "ChangeOrderDescription": "Version: 2020-05-14 20:02:33 | Deployment Package: hsf-pandora-boot-provider-1.0.jar | Deploy to: all groups\n",
        "Source": "pop",
        "BatchCount": 1,
        "CreateUserId": "edas_test1@aliyun-test.com",
        "CoTypeCode": "CoDeploy",
        "ChangeOrderId": "1074f3e2-e974-4a0e-****-************",
        "BatchType": "Automatic",
        "GroupId": "8123db90-880f-486f-****-************",
        "CoType": "Application Scale Out",
        "AppId": "3616cdca-4f92-4413-****-************"
      }
    ]
  }
}

Error codes

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