edit-icon download-icon

QueryChangeLogList

Last Updated: Jan 29, 2018

Description

The QueryChangeLogList API queries operation logs under the current account and returns the results by page.

Request parameters

For more information about public request parameters, see Public parameters.

Parameter Type Required Description
Action String Yes API of the action, system required parameter. Set this parameter to QueryChangeLogList.
PageNum Integer Yes Page number. The minimum value is 1.
PageSize Integer Yes Page size. The value ranges from 1 to 100.
StartDate Long No Start time of the period in which the operation logs are queried, expressed by the number of milliseconds between the start time and the UTC time 00:00 on January 1, 1970.
EndDate Long No End time of the period in which the operation logs are queried, expressed by the number of milliseconds between the end time and the UTC time 00:00 on January 1, 1970.
DomainName String No Domain name of which the operation logs are queried.
Lang String No Language of the information returned from the API. The enumerated values include zh (Chinese) and en (English). The default value is en.

Response parameters

Parameter Type Description
RequestId String Unique request identifier
TotalItemNum Integer Total number of records
CurrentPageNum Integer Current page number
TotalPageNum Integer Total number of pages
PageSize Integer Page size
PrePage Boolean Whether the previous page exists
NextPage Boolean Whether the next page exists
ResultLimit Boolean If the number of pages is not limited, the server end can process at most 1,000 records during query. If the number of results exceeds 1,000 and ResultLimit is set to true, you are required to narrow down the time range and query again. Alternatively, set ResultLimit to false.
Data ChangeLogType List of operation logs

Error codes

Error code Description HTTP status code Semantics
ParameterIllegal Parameter illegal. 400 Parameter error
NetworkIOError Network IO Error. 400 Network I/O exception

Examples

Request example

  1. http://domain-intl.aliyuncs.com/?Action=QueryChangeLogList
  2. &PageNum=1
  3. &PageSize=1
  4. &<Public request parameters>

Response example

  • XML format
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <QueryChangeLogListResponse>
  3. <Data>
  4. <ChangeLog>
  5. <Result>Failed</Result>
  6. <Operation>DNS modification</Operation>
  7. <Time>2017-12-26 12:00:00</Time>
  8. <Details>dns1;dns2 -> dns3;dns4</Details>
  9. <DomainName>test1.com</DomainName>
  10. <OperationIPAddress>127.0.0.1</OperationIPAddress>
  11. </ChangeLog>
  12. </Data>
  13. <TotalItemNum>1000</TotalItemNum>
  14. <PageSize>1</PageSize>
  15. <CurrentPageNum>1</CurrentPageNum>
  16. <RequestId>2DEDFF32-7827-46B1-BE90-3DB8ABD91A58</RequestId>
  17. <PrePage>false</PrePage>
  18. <TotalPageNum>1000</TotalPageNum>
  19. <ResultLimit>true</ResultLimit>
  20. <NextPage>true</NextPage>
  21. </QueryChangeLogListResponse>
  • JSON format
  1. {
  2. "currentPageNum": 1,
  3. "data": [
  4. {
  5. "details": "dns1;dns2 -> dns3;dns4",
  6. "domainName": "test1.com",
  7. "operation": "DNS modification",
  8. "operationIPAddress": "127.0.0.1",
  9. "result": "Failed",
  10. "time": "2017-12-26 12:00:00"
  11. }
  12. ],
  13. "nextPage": true,
  14. "pageSize": 1,
  15. "prePage": false,
  16. "requestId": "0B83F967-7135-49A3-B249-ABC14CBA6B8B",
  17. "resultLimit": true,
  18. "totalItemNum": 1000,
  19. "totalPageNum": 1000
  20. }
Thank you! We've received your feedback.