You can call this operation to query the most recent change process 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 only uses common request headers. For more information, see the Common request parameters topic.

Request syntax

POST /pop/v5/changeorder/change_order_list HTTPS|HTTP

Request parameters

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

Response parameters

Parameter Type Example Description
Code Integer 200

The returned code.

Message String success

The returned message.

RequestId String D16979DC-4D42-************
ChangeOrderList Array

The information about the most recent change process returned.

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

The ID of the most recent change process returned.

UserId String 14325362234

The ID of the user who created the most recent change process.

BatchType String Automatic

The manner in which the batches for the most recent change are transitioned.

BatchCount Integer 1

The number of batches for the most recent change.

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

The ID of the application that was queried.

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

The ID of the instance group where the application is deployed.

Status Integer 2

The status of the most recent change process returned.

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

The time when the most recent change process was created.

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

The time when the most recent change process finished.

CoType String Application Scale Out

The type of the most recent change process returned.

Examples

Sample requests

POST /pop/v5/changeorder/change_order_list HTTP/1.1
Common request headers
{
  "AppId": ""
}

Sample success responses

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
}

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>

Error codes

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