Domain name for API request: ecdn.tencentcloudapi.com.
This API is used to query the access log download link of a domain name.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
This document describes the parameters for Signature V1. It's recommended to use the V3 signature, which provides higher security. Note that for Signature V3, the common parameters need to be placed in the HTTP Header. See details.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common parameter. The value used for this API: DescribeEcdnDomainLogs. |
Version | Yes | String | Common parameter. The value used for this API: 2019-10-12. |
Region | No | String | Common parameter. This parameter is not required for this API. |
Domain | Yes | String | Domain name to be queried. |
StartTime | Yes | Timestamp | Log start time, such as 2019-10-01 00:00:00 |
EndTime | Yes | Timestamp | Log end time, such as 2019-10-02 00:00:00. Only logs for the last 30 days can be queried. |
Offset | No | Integer | Pagination offset for log link list. Default value: 0. |
Limit | No | Integer | Number of log links per page. Default value: 100. Maximum value: 1000. |
Parameter Name | Type | Description |
---|---|---|
DomainLogs | Array of DomainLogs | Log link list. Note: this field may return null, indicating that no valid values can be obtained. |
TotalCount | Integer | Total number of log links. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://ecdn.tencentcloudapi.com/?Action=DescribeEcdnDomainLogs
&StartTime=2019-09-04 00:00:00
&EndTime=2019-09-04 12:00:00
&Domain=www.test.com
&<Common request parameters>
{
"Response": {
"RequestId": "13d41d37-546f-42ed-a3b9-ff82a51ecd0a",
"DomainLogs": [
{
"StartTime": "2019-09-04 23:00:00",
"EndTime": "2019-09-04 23:59:59",
"LogPath": "http://www.test.qcloud.com/20190904/23/201909042300-www.test.com.gz?st=hGzJr0QFpo3jYM2uj7kkjA&e=3135214538"
}
],
"TotalCount": 300
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError.EcdnConfigError | Internal configuration service error. Please try again later or contact the customer service for assistance. |
InternalError.EcdnDbError | Internal data error. Please submit a ticket for troubleshooting. |
InvalidParameter.EcdnParamError | Parameter error. Please see the sample parameters in the documentation. |
InvalidParameter.EcdnStatInvalidDate | Invalid date. Please see the sample date in the documentation. |
LimitExceeded.EcdnDomainOpTooOften | Domain name operations are too frequent. |
ResourceNotFound.EcdnDomainNotExists | This domain name does not exist under the account. Please check and try again. |
ResourceNotFound.EcdnHostNotExists | This domain name does not exist under the account. Please check and try again. |
ResourceNotFound.EcdnUserNotExists | The ECDN service has not been activated. Please activate it first before using this API. |
UnauthorizedOperation.EcdnAccountUnauthorized | The sub-account is unauthorized to query full data. |
UnauthorizedOperation.EcdnCamUnauthorized | No CAM policy is configured for the sub-account. |
UnauthorizedOperation.EcdnDomainUnauthorized | The acceleration domain name is not authorized for the ECDN sub-account. |
UnauthorizedOperation.EcdnHostUnauthorized | The acceleration domain name is not authorized for the ECDN sub-account. |
UnauthorizedOperation.EcdnNoDomainUnauthorized | The sub-account does not have the permission to access the domain name. Please try again after authorization. |
Was this page helpful?