Queries a tracking task.
- The maximum number of times that each user can call this operation per second is 3.
- By default, this operation queries all tracking tasks. However, only one tracking task can be displayed. Therefore, only one tracking task is returned.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeCdnSubList |
The operation that you want to perform. Set the value to DescribeCdnSubList. |
Status | String | No | enable |
The status of the tracking task. Valid values:
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": [5,7],"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. |
Field |
Type |
Description |
---|---|---|
subId |
Long |
The ID of the request. |
reportId |
Long[] |
The ID of the operations report. |
createTime |
String |
The time when the operations 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)://cdn.aliyuncs.com/?Action=DescribeCdnSubList
&<Common request parameters>
Sample success responses
XML
format
<DescribeCdnSubListResponse>
<RequestId>3250A51D-C11D-46BA-B6B3-95348EEDE652</RequestId>
<Content>
<data>
<subId>336</subId>
<reportId>5</reportId>
<reportId>7</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>
</DescribeCdnSubListResponse>
JSON
format
{
"RequestId": "3250A51D-C11D-46BA-B6B3-95348EEDE652",
"Content": {
"data": [
{
"subId": 336,
"reportId": [
5,
7
],
"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.