Call DescribeDcdnReport to query the data of a customized report.
Operation description
The throttling limit for a single user is 3 calls per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnReport |
get |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
No |
The domain names that you want to query. Separate multiple domain names with commas (,). |
www.example.com,www.example.org |
| ReportId |
integer |
Yes |
The ID of the report that you want to query. You can specify only one report ID in each call. You can call the DescribeDcdnSubList operation to query report IDs. |
2 |
| Area |
string |
No |
The English name of the region. You can call the DescribeDcdnRegionAndIsp operation to obtain the English name of a region.
|
shanghai |
| IsOverseas |
string |
No |
Specifies whether the region is outside the Chinese mainland. Valid values:
|
0 |
| HttpCode |
string |
No |
The HTTP status code. Valid values:
If you do not specify this parameter, all the preceding HTTP status codes are queried by default. |
2xx |
| StartTime |
string |
Yes |
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. |
2021-07-02T00:00:00Z |
| EndTime |
string |
Yes |
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. |
2021-07-02T01:00:00Z |
Required request parameters for each report
| Report name | Required parameters | Description |
| PV and UV | Action, ReportId, DomainName, StartTime, and EndTime. | Other parameters are not supported. |
| Top client IPs (sorted by traffic) | Action, ReportId, DomainName, Area, StartTime, and EndTime. | Other parameters are not supported. |
| Top client IPs (sorted by number of requests) | Action, ReportId, DomainName, Area, StartTime, and EndTime. | Other parameters are not supported. |
| Access region distribution | Action, ReportId, DomainName, IsOverseas, StartTime, and EndTime. | Other parameters are not supported. |
| Carrier distribution | Action, ReportId, DomainName, IsOverseas, StartTime, and EndTime. | Other parameters are not supported. |
| Popular Referers (sorted by traffic) | Action, ReportId, DomainName, StartTime, and EndTime. | Other parameters are not supported. |
| Popular Referers (sorted by number of requests) | Action, ReportId, DomainName, StartTime, and EndTime. | Other parameters are not supported. |
| Popular URLs (sorted by traffic) | Action, ReportId, DomainName, HttpCode, StartTime, and EndTime. | Other parameters are not supported. |
| Popular URLs (sorted by number of requests) | Action, ReportId, DomainName, HttpCode, StartTime, and EndTime. | Other parameters are not supported. |
| Popular back-to-origin URLs (sorted by traffic) | Action, ReportId, DomainName, HttpCode, StartTime, and EndTime. | Other parameters are not supported. |
| Popular back-to-origin URLs (sorted by number of requests) | Action, ReportId, DomainName, HttpCode, StartTime, and EndTime. | Other parameters are not supported. |
| Domain name ranking (sorted by traffic) | Action, ReportId, StartTime, and EndTime. | Other parameters are not supported. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Content |
object |
The data of the queried report. |
"data":[{"deliver":{ "report":{"title":"TopUrlByAcc","format":"table","sape":"","header":["url","traf","traf_rate","acc","acc_rate"]}}, "data":[{"acc":440,"acc_rate":"0.200%","traf":22,"url":"http://example.com","traf_rate":"0.100%"},{"acc":440,"acc_rate":"0.200%","traf":22,"url":"http://example.org","traf_rate":"0.100%"}]}] |
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
Content data description
| Parameter | Type | Description |
| deliver | report | The report style. |
| data | String[] | The data in the report. For example: [{"Table header field 1":"value1","Table header field 2":"value2"}, {"Table header field 1":"value3","Table header field 2":"value4"}]. |
report data description
| Parameter | Type | Description |
| title | String | The report title. |
| format | String | The report type. Valid values: chart: a chart. table: a table. |
| shape | String | The chart type. If the value of format is table, ignore this field. Valid values: line: a line chart. pie: a pie chart. bar: a column chart. |
| header | String[] | The table header fields of the report. |
| legend | String | The legend field of the graph. |
| xAxis | String | The x-axis of the graph. This field is empty if the graph has no x-axis. |
| yAxis | String | The y-axis of the graph. This field is empty if the graph has no y-axis. |
Examples
Success response
JSON format
{
"Content": {
"test": "test",
"test2": 1
},
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | A parameter is set to an invalid value. |
| 400 | TimeParseFailed | Failed to parse the time parameter. | Failed to parse the time parameter. |
| 400 | SubscriptionAlreadyExists | The subscription already exists. | The subscription already exists. |
| 400 | SubscriptionNotFound | The subscription is not found. | The subscription is not found. |
| 400 | NameAlreadyExists | The name already exists. | The name already exists. |
| 400 | DeliverExceedLimit | The maximum number of subscribed tasks is exceeded. | The number of tracking tasks has reached the upper limit. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.