DescribeCdnDeliverList
Queries the list of report tracking tasks and returns all tracking tasks for the user.
Operation description
Rate limit: 3 calls per second per user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeCdnDeliverList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DeliverId |
integer |
No |
The ID of the tracking task to query. If you do not specify this parameter, all tracking tasks are returned by default. |
3 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
12345 |
| Content |
object |
The tracking task list data. |
"data": [{"deliverId": 1,"status": "enable","createTime": "2020-10-14T11:19:26Z","crontab": "0 0 0 * * ?","frequency": "d","name": "Domain tracking","dmList": ["www.example.com"],"reports": [{"reportId": 1,"conditions": [{"op": "in","field": "prov","value": ["Heilongjiang","Beijing"]}]},{"reportId": 2}],"deliver": {"email": {"subject": "Subject","to": ["example@alibaba-inc.com","example@alibaba-inc.com"]}}}]}} |
| data |
array<object> |
The tracking content body. |
|
|
array<object> |
The tracking content body. |
||
| createTime |
string |
The creation time. |
2021-12-30T10:29:29Z |
| crontab |
string |
The scheduled task configuration. |
00 00 08 * * ? |
| deliver |
object |
The delivery method. |
|
|
object |
The email delivery content. |
||
| to |
array |
The recipients. |
|
|
string |
The email address. |
xx@xx.xx |
|
| deliverId |
integer |
The tracking ID. |
1 |
| dmList |
array |
The domain name list. |
|
|
string |
The domain name. |
a.b.c |
|
| frequency |
string |
The delivery frequency. |
d |
| name |
string |
The tracking name. |
domain name subscription |
| reports |
array<object> |
The list of tracked reports. |
|
|
object |
The report. |
||
| reportId |
integer |
The report ID. |
1 |
| status |
string |
The tracking status. |
enable |
| timeEndFormat |
string |
The effective end time of the tracking task. |
-1d |
| timeFromFormat |
string |
The effective start time of the tracking task. |
-1d |
Description of data
| Parameter | Type | Description |
| deliverId | Long | The ID of the tracking task. |
| status | String | The status of the tracking task. Valid values: enable: enabled. disable: disabled. |
| createTime | String | The creation time of the tracking task. |
| crontab | String | The execution cycle of the tracking task. |
| frequency | String | The execution frequency. Valid values: h: hour. d: day. M: month. |
| name | String | The name of the tracking task. |
| dmList | String[] | The domain name filtering list of the tracking task. |
| reports | String[] | The list of tracked reports. This parameter includes the following fields: reportId: the ID of the report. conditions: the filtering conditions of the report, which include the filtering operation, filtering field, and filtering value. If no filtering condition is specified, this field is empty. op: the filtering operation. Only in is supported. field: the filtering field. value: the filtering value. |
| deliver | String | The delivery module, which includes information such as the email subject and recipients. email: email delivery. subject: the email subject. to: the list of recipient email addresses. copy: the list of CC email addresses. |
Description of reports
| Parameter | Type | Description |
| deliverId | Long | The ID of the tracking task. |
| status | String | The status of the tracking task. Valid values: enable: enabled. disable: disabled. |
Examples
Success response
JSON format
{
"RequestId": "12345",
"Content": {
"data": [
{
"createTime": "2021-12-30T10:29:29Z",
"crontab": "00 00 08 * * ?",
"deliver": {
"email": {
"to": [
"xx@xx.xx"
]
}
},
"deliverId": 1,
"dmList": [
"a.b.c"
],
"frequency": "d",
"name": "xxxx",
"reports": [
{
"reportId": 1
}
],
"status": "enable",
"timeEndFormat": "-1d",
"timeFromFormat": "-1d"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | An exception occurred while deleting the live streaming region. |
| 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 specified 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.