Queries a tracking task.

Note By default, this operation queries all tracking tasks. However, only one tracking task can be displayed. Therefore, only one tracking task is returned.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameter

Parameter Type Required Example Description
Action String Yes DescribeDcdnSubList

The operation that you want to perform. Set the value to DescribeDcdnSubList.

Status String No enable

The status of the tracking task. Valid values:

  • enable: enabled
  • disable: disabled
Note The Status parameter is reserved. You do not need to set it.

Response parameters

Parameter Type Example Description
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"}]

The information about the tracking task.

RequestId String 3250A51D-C11D-46BA-B6B3-95348EEDE652

The ID of the request.

Fields of the Content parameter

Field

Type

Description

subId

Long

The ID of the request.

reportId

Long[]

The ID of the metric in the report.

createTime

String

The time when the report was created.

domains

String[]

The domain names from which the tracking task collects data.

effectiveFrom

String

The start time of the tracking task.

effectiveEnd

String

The end time of the tracking task.

status

String

The status of the tracking task. Valid values:

enable: enabled

disable: disabled

Examples

Sample requests

http(s)://dcdn.aliyuncs.com/?Action=DescribeDcdnSubList
&<Common request parameters>

Sample success responses

XML format

<DescribeDcdnSubListResponse>
  <RequestId>3250A51D-C11D-46BA-B6B3-95348EEDE652</RequestId>
  <Content>
        <data>
              <subId>336</subId>
              <reportId>6</reportId>
              <reportId>8</reportId>
              <createTime>2021-07-05T06:18:46Z</createTime>
              <domains>example.com</domains>
              <effectiveFrom>2021-07-05T06:18:46Z</effectiveFrom>
              <effectiveEnd>2021-10-05T06:18:46Z</effectiveEnd>
              <status>enable</status>
        </data>
  </Content>
</DescribeDcdnSubListResponse>

JSON format

{
  "RequestId": "3250A51D-C11D-46BA-B6B3-95348EEDE652",
  "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"
      }
    ]
  }
}

Error codes

For a list of error codes, visit the API Error Center.