DescribeCdnDeliverList

Updated at:

Queries the list of report tracking tasks and returns all tracking tasks for the user.

Operation description

Note

Rate limit: 3 calls per second per user.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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.

email

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

ParameterTypeDescription
deliverIdLongThe ID of the tracking task.
statusStringThe status of the tracking task. Valid values:
enable: enabled.
disable: disabled.




createTimeStringThe creation time of the tracking task.
crontabStringThe execution cycle of the tracking task.
frequencyStringThe execution frequency. Valid values:
h: hour.
d: day.
M: month.







nameStringThe name of the tracking task.
dmListString[]The domain name filtering list of the tracking task.
reportsString[]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.




deliverStringThe 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

ParameterTypeDescription
deliverIdLongThe ID of the tracking task.
statusStringThe 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.