调用DescribeDcdnSubList查询已定制的报表任务。
接口说明
调用该接口默认返回所有已定制的报表,但目前只支持展示单个定制任务,因此调用结果只会返回一个定制报表任务。
单用户调用频率:3 次/秒。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
dcdn:DescribeDcdnSubList |
get |
*全部资源
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
|||
Content |
string |
已定制的报表任务。 |
"data": [{"subId": 336,"reportId": [6,8],"createTime": "2021-07-05T06:18:46Z","domains": ["example.com"],"effectiveFrom": "2021-07-05T06:18:46Z","effectiveEnd": "2021-10-05T06:18:46Z","status": "enable"}] |
RequestId |
string |
请求 ID。 |
3250A51D-C11D-46BA-B6B3-95348EEDE652 |
Content 数据说明
参数 | 类型 | 描述 |
subId | Long | 任务的请求 ID。 |
reportId | Long[] | 报表 ID 列表。 |
createTime | String | 报表创建时间。 |
domains | String[] | 定制报表的域名列表。 |
effectiveFrom | String | 定制任务开始时间。 |
effectiveEnd | String | 定制任务结束时间。 |
status | String | 定制任务状态。取值: |
示例
正常返回示例
JSON
格式
{
"Content": "\"data\": [{\"subId\": 336,\"reportId\": [6,8],\"createTime\": \"2021-07-05T06:18:46Z\",\"domains\": [\"example.com\"],\"effectiveFrom\": \"2021-07-05T06:18:46Z\",\"effectiveEnd\": \"2021-10-05T06:18:46Z\",\"status\": \"enable\"}]",
"RequestId": "3250A51D-C11D-46BA-B6B3-95348EEDE652"
}
错误码
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. | 订阅任务个数已达上限 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。