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
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.