You can call the DescribeDcdnReportList operation to query a list of all custom reports.
Operation description
This operation returns the metadata of all custom reports but does not return the statistical data of the reports.
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:DescribeDcdnReportList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ReportId |
integer |
No |
The ID of the report to query. If you leave this parameter empty, all reports are queried. To query report IDs, call the DescribeDcdnSubList operation. |
2 |
Response elements
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| Content |
string |
The list of reports. |
"data": [{"reportId":2,"deliver":{"report":{"title":"DomainPvUv","format":"chart","shape":"line","xAxis":"ds","yAxis":"cnt","legend":"cnt_type","header":["ds","cnt_type","cnt"]}}} |
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
Content parameter description
Parameter | Type | Description |
reportId | Long | The ID of the report. |
deliver | report | The report style. |
report parameter description
Parameter | Type | Description |
title | String | The title of the report. |
format | String | The report type. Valid values: |
shape | String | The chart type. If the value of format is table, ignore this field. Valid values: |
header | String[] | The header fields of the report. |
legend | String | The legend field of the chart. |
xAxis | String | The x-axis of the chart. This field is empty if the chart does not have an x-axis. |
yAxis | String | The y-axis of the chart. This field is empty if the chart does not have a y-axis. |
Examples
Success response
JSON format
{
"Content": "\"data\": [{\"reportId\":2,\"deliver\":{\"report\":{\"title\":\"DomainPvUv\",\"format\":\"chart\",\"shape\":\"line\",\"xAxis\":\"ds\",\"yAxis\":\"cnt\",\"legend\":\"cnt_type\",\"header\":[\"ds\",\"cnt_type\",\"cnt\"]}}}",
"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.