调用DescribeDcdnReportList查询所有的定制报表列表。
接口说明
该接口将返回所有定制报表的元数据,不包含具体报表的统计数据。
单用户调用频率:3 次/秒。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
dcdn:DescribeDcdnReportList |
get |
*全部资源
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
ReportId |
integer |
否 |
待查询的报表 ID。如果不传该参数,默认查询所有报表,您可以调用 DescribeDcdnSubList 接口查询报表 ID。 |
2 |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
|||
Content |
string |
报表列表。 |
"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 |
请求 ID。 |
04F0F334-1335-436C-A1D7-6C044FE73368 |
Content 数据说明
参数 | 类型 | 描述 |
reportId | Long | 任务的请求 ID。 |
deliver | report | 报表样式。 |
report 数据说明
参数 | 类型 | 描述 |
title | String | 报表标题。 |
format | String | 报表类型。取值: |
shape | String | 图表类型。当 format 为 table 时,请忽略此字段。取值: |
header | String[] | 报表的表头字段。 |
legend | String | 图形的图例字段。 |
xAxis | String | 图形 x 轴,没有则为空。 |
yAxis | String | 图形 y 轴,没有则为空。 |
示例
正常返回示例
JSON
格式
{
"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"
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
400 | InvalidParameter | The specified parameter is invalid. | 参数错误 |
400 | TimeParseFailed | Failed to parse the time parameter. | 解析时间参数失败 |
400 | SubscriptionAlreadyExists | The subscription already exists. | 定制服务已开通 |
400 | SubscriptionNotFound | The subscription is not found. | 未开通定制服务 |
400 | NameAlreadyExists | The name already exists. | 名称已存在 |
400 | DeliverExceedLimit | The maximum number of subscribed tasks is exceeded. | 订阅任务个数已达上限 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。