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. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses only the common request header. For more information, see Common request parameters.

Request syntax

POST /pop/v5/changeorder/change_order_list HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
AppId String Query Yes 3616cdca-4f92-4413-****-************

The ID of the application.

Response parameters

Parameter Type Example Description
ChangeOrderList Array of ChangeOrder

The list of change processes.

ChangeOrder
AppId String 3616cdca-4f92-4413-****-************

The ID of the application.

BatchCount Integer 1

The number of batches of instances for which the application change was performed. Valid values: 1 to 5.

BatchType String Automatic

The mode for performing the change for the next batch of instances. Valid values:

  • Automatic
  • Manual
ChangeOrderDescription String Version: 2020-05-14 20:02:33 | Package: hsf-pandora-boot-provider-1.0.jar | Deploy to: all groups

The description of the change process.

ChangeOrderId String 1074f3e2-e974-4a0e-****-************

The unique ID of the change process.

CoType String Application Scale Out

The type of the change process.

CoTypeCode String CoDeploy

The type of the change process.

CreateTime String 2019-11-13 14:23:46

The time when the change process was created.

CreateUserId String edas_test1@aliyun-test.com

The user who created the change process.

FinishTime String 2019-11-13 14:24:02

The time when the change process ended.

GroupId String 8123db90-880f-486f-****-************

The ID of the instance group where the change was performed.

Source String pop

The source of the change. Valid values:

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

The status 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 change for the next batch of instances.)
  • 9: waiting for automatic execution
  • 10: failed due to a system error
UserId String 1432536****

The ID of the user who created the change process.

Code Integer 200

The HTTP status code.

Message String success

The returned message.

RequestId String D16979DC-4D42-************

The ID of the request.

Examples

Sample requests

POST /pop/v5/changeorder/change_order_list HTTP/1.1
Common request header
{
"AppId": "3616cdca-4f92-4413-****-************"
}

Sample success responses

XML format

<ChangeOrderList>
    <ChangeOrder>
        <Status>2</Status>
        <BatchCount>1</BatchCount>
        <FinishTime>2019-11-13 14:24:02</FinishTime>
        <CreateTime>2019-11-13 14:23:46</CreateTime>
        <BatchType>Automatic</BatchType>
        <CoType>Application Scale Out</CoType>
        <AppId>3616cdca-4f92-4413-****-************</AppId>
        <ChangeOrderId>1074f3e2-e974-4a0e-****-************</ChangeOrderId>
        <GroupId>8123db90-880f-486f-****-************</GroupId>
    </ChangeOrder>
</ChangeOrderList>
<Message>success</Message>
<Code>200</Code>

JSON format

{
    "ChangeOrderList": {
        "ChangeOrder": {
            "Status": 2,
            "BatchCount": 1,
            "FinishTime": "2019-11-13 14:24:02",
            "CreateTime": "2019-11-13 14:23:46",
            "BatchType": "Automatic",
            "CoType": "Application Scale Out",
            "AppId": "3616cdca-4f92-4413-****-************",
            "ChangeOrderId": "1074f3e2-e974-4a0e-****-************",
            "GroupId": "8123db90-880f-486f-****-************"
        }
    },
    "Message": "success",
    "Code": 200
}

Error codes

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