You can call this operation to query all changes in one or all deployment environments.

Debugging

Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to search for APIs, call APIs, and dynamically generate SDK example code.

Request headers

This operation uses common request headers, instead of special request headers. For more information, see the "Common request headers" section in "Common request and response headers."

Request syntax

GET /pop/v1/wam/change HTTP/1.1

Request parameters

Parameter Type Required? Example Description
EnvId String Yes we-5d245f7f1f773f090a0d****

The ID of the deployment environment in which you want to query changes.

ActionName String No Termination

The type of the change to be queried.

PageNumber Integer No 1

The number of the page to return.

PageSize Integer No 10

The number of entries to return on each page.

Response parameters

Parameter Type Example Description
Changes

The list of the changes queried.

ActionName String Apply

The name of the change operation.

ChangeAborted Boolean false

Indicates whether the change was aborted.

ChangeDescription String apply env we-5d39b8ba6786bd4b149*****

The description of the change.

ChangeFinished Boolean true

Indicates whether the change was completed.

ChangeId String wc-5d3a963d5802611c4dd*****

The ID of the change.

ChangeMessage String changeMessage

The message of the change.

ChangeName String apply.env

The name of the change.

ChangePaused Boolean false

Indicates whether the change was paused.

ChangeSucceed Boolean true

Indicates whether the change was successful.

ChangeTimedout Boolean false

Indicates whether the change timed out.

CreateTime Long 1562664852417

The time when the change was created.

CreateUsername String user1

The name of the user who created the change.

EnvId String we-5d245f7f1f773f090a0*****

The ID of the deployment environment where the change occurred.

FinishTime Long 1562664854330

The time when the change was completed.

UpdateTime Long 1562664854381

The time when the change was last updated.

Code String OK

The response code. The value is OK if the request is successful.

Message String success

The response message. The value is success if the request is successful.

PageNumber Integer 1

The number of the page returned.

PageSize Integer 10

The number of entries returned on each page.

RequestId String 91AF2647-8A0B-47FE-8AD4-AE49AA79****

The ID of the request.

TotalCount Integer 4046

The total number of entries returned.

Examples

Sample request


http://webplus.cn-hangzhou.aliyuncs.com/pop/v1/wam/change?PageSize=1&EnvId=we-5d39b8ba6786bd4b1495****&<Common request parameters>

Sample success response

XML format

<DescribeChangesResponse>
    <PageNumber>1</PageNumber>
    <Changes>
        <Change>
            <ChangeName>apply.env</ChangeName>
            <ActionName>Apply</ActionName>
            <ChangeAborted>false</ChangeAborted>
            <ChangeTimedout>false</ChangeTimedout>
            <UpdateTime>1564120665714</UpdateTime>
            <ChangeDescription>apply env we-5d39b8ba6786bd4b1495****</ChangeDescription>
            <EnvId>we-5d39b8ba6786bd4b1495****</EnvId>
            <ChangeSucceed>true</ChangeSucceed>
            <FinishTime>1564120665679</FinishTime>
            <CreateUsername>user1</CreateUsername>
            <CreateTime>1564120637891</CreateTime>
            <ChangeId>wc-5d3a963d5802611c4ddc****</ChangeId>
            <ChangeMessage></ChangeMessage>
            <ChangeFinished>true</ChangeFinished>
            <ChangePaused>false</ChangePaused>
        </Change>
    </Changes>
    <TotalCount>12</TotalCount>
    <Message>success</Message>
    <PageSize>1</PageSize>
    <RequestId>676F2994-039A-46B5-A30A-CABB7FE0****</RequestId>
    <Code>OK</Code>
</DescribeChangesResponse>

JSON format

{
	"PageNumber":1,
	"Changes":{
		"Change":[
			{
				"ChangeName":"apply.env",
				"ActionName":"Apply",
				"ChangeAborted":false,
				"ChangeTimedout":false,
				"UpdateTime":1564120665714,
				"ChangeDescription":"apply env we-5d39b8ba6786bd4b1495****",
				"EnvId":"we-5d39b8ba6786bd4b1495****",
				"ChangeSucceed":true,
				"FinishTime":1564120665679,
				"CreateUsername":"user1",
				"CreateTime":1564120637891,
				"ChangeId":"wc-5d3a963d5802611c4ddc****",
				"ChangeMessage":"",
				"ChangeFinished":true,
				"ChangePaused":false
			}
		]
	},
	"TotalCount":12,
	"Message":"success",
	"PageSize":1,
	"RequestId":"6C25A79D-D46F-4079-B522-7D7CBA46****",
	"Code":"OK"
}

Error codes

HTTP status code Error code Error message Description
403 ResourceAuthFailed The specified resource does not exist or it does not belong to this Alibaba Cloud account. The error message returned because the specified resource does not exist or it does not belong to your Alibaba Cloud account.

For more information about error codes, see API Error Center.