Queries data statistics about accelerated domain names by Internet service provider (ISP). You can query the data that is collected over the last 90 days.
Operation description
-
You can call this operation up to 100 times per second per account.
-
If StartTime is set but EndTime is not set, the data within the hour that starts from StartTime is queried.
-
If EndTime is set but StartTime is not set, the data within the last hour that precedes EndTime is queried.
-
You can query data of a domain name or all domain names that belong to your account.
-
You can view data that is collected over the last seven days. The interval at which data is queried is based on the time range specified by StartTime and EndTime.
- If the time range is shorter than or equal to one hour, data is queried every minute.
- If the time range is longer than 1 hour but shorter than or equal to three days, data is queried every five minutes.
- If the time range is longer than three days but shorter than or equal to seven days, data is queried every hour.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
dcdn:DescribeDcdnDomainIspData | Read |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DomainName | string | No | The accelerated domain name. You can specify only one domain name in each request. If you do not specify an accelerated domain name, the data of all accelerated domain names that belong to your account is queried. | example.com |
StartTime | string | No | The beginning of the time range to query. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. | 2019-12-05T12:00:00Z |
EndTime | string | No | The end of the time range to query. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Note
The end time must be later than the start time.
| 2019-12-06T12:00:00Z |
Response parameters
Examples
Sample success responses
JSON
format
{
"EndTime": "2019-12-06T12:00:00Z",
"StartTime": "2019-12-05T12:00:00Z",
"RequestId": "2E5AD83F-BD7B-462E-8319-2E30E305519A",
"DomainName": "example.com",
"DataInterval": "86400",
"Value": {
"IspProportionData": [
{
"Qps": "5.9523809523809524E-5",
"TotalQuery": "3",
"TotalBytes": "2400057",
"AvgResponseRate": "154.3345765545624",
"AvgResponseTime": "5183.666666666667",
"Proportion": "0.01155980271270037",
"AvgObjectSize": "800019.0",
"IspEname": "unicom",
"Bps": "380.9614285714286",
"Isp": "China Unicom\n",
"BytesProportion": "0.003544181046236794"
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | MissingTimeParameter | The StartTime and EndTime must be both specified. | You must set both the start time and the end time. |
400 | InvalidStartTime.Malformed | The specified StartTime parameter is invalid. | The format of the specified start time is invalid. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
400 | InvalidEndTime.Malformed | The specified EndTime is invalid. | The format of the specified end time is invalid. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
400 | InvalidEndTime.Mismatch | The specified EndTime is earlier than the StartTime. | The end time is earlier than the start time. |
400 | InvalidStartTime.ValueNotSupported | The specified StartTime is invalid. | The specified start time is invalid. |
404 | InvalidDomain.NotFound | The specified domain does not exist. | The specified domain name does not exist. |
For a list of error codes, visit the Service error codes.