Mengkueri tugas laporan kustom.
Deskripsi operasi
-
By default, this operation queries all customized report tasks. However, only one task is returned in the response.
-
The call frequency is limited to 3 calls per second for each user.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeCdnSubList |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Content |
object |
The customized report task. |
{"RequestId":"3250A51D-C11D-46BA-B6B3-95348EEDE652","Description":"成功","Content":{"data":[{"subId":5,"reportId":[1,2,3],"createTime":"2020-09-25T09:39:33Z","domains"["all"],"effectiveFrom":"2020-09-17T00:00:00Z","effectiveEnd":"2020-11-17T00:00:00Z","status":"enable"}]}} |
| data |
array<object> |
||
|
object |
|||
| createTime |
string |
2024-05-16T09:43:38Z |
|
| domains |
array |
||
|
string |
a.b.com |
||
| effectiveEnd |
string |
2024-05-16T09:43:38Z |
|
| effectiveFrom |
string |
2024-05-16T09:43:38Z |
|
| reportId |
array |
||
|
integer |
1 |
||
| status |
string |
enable |
|
| subId |
integer |
1 |
|
| RequestId |
string |
The request ID. |
3250A51D-C11D-46BA-B6B3-95348EEDE652 |
Deskripsi Data.
| Parameter | Tipe | Deskripsi |
| subId | Long | ID permintaan Tugas. |
| reportId | Long[] | Daftar ID laporan. |
| createTime | String | Pengatur waktu pembuatan laporan. |
| domains | String[] | Daftar nama domain untuk laporan kustom. |
| effectiveFrom | String | Pengatur waktu mulai Tugas kustom. |
| effectiveEnd | String | Pengatur waktu berakhir Tugas kustom. |
| status | String | Status Tugas kustom. Nilai valid: enable: Diaktifkan. disable: Dinonaktifkan. |
Contoh
Respons sukses
JSONformat
{
"Content": {
"data": [
{
"createTime": "2024-05-16T09:43:38Z",
"domains": [
"a.b.com"
],
"effectiveEnd": "2024-05-16T09:43:38Z",
"effectiveFrom": "2024-05-16T09:43:38Z",
"reportId": [
1
],
"status": "enable",
"subId": 1
}
]
},
"RequestId": "3250A51D-C11D-46BA-B6B3-95348EEDE652"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | |
| 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.