QueryChangeLogList
Queries the operation logs under your current Alibaba Cloud account by page.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
domain:QueryChangeLog |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserClientIp |
string |
No |
The IP address of the user. You can set this parameter to 127.0.0.1. |
127.0.0.1 |
| Lang |
string |
No |
The language of the error message returned by the API operation. Valid values:
Default value: en. |
en |
| DomainName |
string |
No |
The domain name for which you want to query operation logs. |
example.com |
| PageNum |
integer |
Yes |
The page number. Minimum value: 1. |
1 |
| PageSize |
integer |
Yes |
The number of entries per page. Minimum value: 1. Maximum value: 100. |
1 |
| StartDate |
integer |
No |
The start time of the time range to query. The value is a UNIX timestamp in milliseconds. |
1522080000000 |
| EndDate |
integer |
No |
The end time of the time range to query. The value is a UNIX timestamp in milliseconds. |
1522080000000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| CurrentPageNum |
integer |
The current page number. |
1 |
| Data |
object |
||
| ChangeLog |
array<object> |
The list of operation logs. |
|
|
object |
|||
| Details |
string |
The details. |
dns1;dns2 -> dns3;dns4 |
| DomainName |
string |
The domain name. |
example.com |
| Operation |
string |
The operation performed. |
DNS modification |
| OperationIPAddress |
string |
The IP address from which the operation was performed. |
127.0.0.1 |
| Remark |
string |
The remarks of the operation logs. |
|
| Result |
string |
The result of the operation. |
Failed |
| Time |
string |
The time when the operation was performed. The time is displayed in UTC, such as 2017-12-25 12:00:00. The specific format varies based on the Lang request parameter. |
2017-12-26 12:00:00 |
| NextPage |
boolean |
Indicates whether a next page exists. |
true |
| PageSize |
integer |
The number of entries per page. |
1 |
| PrePage |
boolean |
Indicates whether a previous page exists. |
false |
| RequestId |
string |
The request ID. |
2DEDFF32-7827-46B1-BE90-3DB8ABD91A58 |
| ResultLimit |
boolean |
In addition to the pagination limit, the server processes a maximum of the latest 1,000 records for the current query. If the number of results exceeds 1,000, ResultLimit is true. In this case, narrow the time range and search again. Otherwise, ResultLimit is false. |
true |
| TotalItemNum |
integer |
The total number of records. |
1000 |
| TotalPageNum |
integer |
The total number of pages. |
1000 |
Examples
Success response
JSON format
{
"CurrentPageNum": 1,
"Data": {
"ChangeLog": [
{
"Details": "dns1;dns2 -> dns3;dns4",
"DomainName": "example.com",
"Operation": "DNS modification",
"OperationIPAddress": "127.0.0.1",
"Remark": "",
"Result": "Failed",
"Time": "2017-12-26 12:00:00"
}
]
},
"NextPage": true,
"PageSize": 1,
"PrePage": false,
"RequestId": "2DEDFF32-7827-46B1-BE90-3DB8ABD91A58",
"ResultLimit": true,
"TotalItemNum": 1000,
"TotalPageNum": 1000
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.