Anda dapat memanggil operasi DescribeCdnReportList untuk mengkueri daftar semua laporan kustom.
Deskripsi operasi
Operasi ini mengembalikan metadata dari semua laporan kustom, tetapi tidak mengembalikan data statistik.
Frekuensi pemanggilan operasi ini dibatasi hingga 3 kali per detik per pengguna.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeCdnReportList |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ReportId |
integer |
No |
ID laporan yang ingin Anda kueri. Jika Anda tidak menentukan parameter ini, semua laporan akan dikueri secara default. |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Badan respons. |
||
| RequestId |
string |
ID permintaan. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| Content |
object |
Daftar laporan. |
"data":[{"reportId":1,"deliver":{"report":{"title":"DomainPvUv","format":"chart","shape":"line","xAxis":"ds","yAxis":"cnt","legend":"cnt_type","header":["ds","cnt_type","cnt"]}}} |
| data |
array<object> |
Data laporan. |
|
|
array<object> |
Data laporan. |
||
| deliver |
object |
Format tampilan laporan. |
|
| report |
object |
Informasi laporan. |
|
| format |
string |
Format tampilan. |
table |
| header |
array |
Daftar header tabel. |
|
|
string |
Header tabel. |
url |
|
| outLine |
integer |
Jumlah baris output. |
0 |
| outSize |
integer |
Ukuran output. |
0 |
| shape |
string |
Jenis grafik laporan. |
line |
| title |
string |
Judul laporan. |
TopUrlByAcc |
| reportId |
integer |
ID laporan. |
1 |
Deskripsi parameter data
| Parameter | Type | Description |
| reportId | Long | ID laporan. |
| deliver | report | Gaya laporan. |
Deskripsi parameter report
| Parameter | Type | Description |
| title | String | Judul laporan. |
| format | String | Jenis laporan. Nilai yang valid: chart: Laporan berupa grafik. table: Laporan berupa tabel. |
| shape | String | Jenis grafik. Jika parameter format diatur ke table, abaikan parameter ini. Nilai yang valid: line: Grafik garis. pie: Grafik lingkaran. bar: Grafik kolom. |
| header | String[] | Bidang header tabel laporan. |
| legend | String | Bidang legenda grafik. |
| xAxis | String | Sumbu x grafik. Parameter ini kosong jika grafik tidak memiliki sumbu x. |
| yAxis | String | Sumbu y grafik. Parameter ini kosong jika grafik tidak memiliki sumbu y. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"Content": {
"data": [
{
"deliver": {
"report": {
"format": "table",
"header": [
"url"
],
"outLine": 0,
"outSize": 0,
"shape": "line",
"title": "TopUrlByAcc"
}
},
"reportId": 1
}
]
}
}
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.