Mengkueri daftar semua laporan kustom.
Deskripsi operasi
-
This operation returns the metadata of all custom reports but does not return the statistical data.
-
The call frequency for this operation is limited to 3 calls per second per user.
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 |
The response body. |
||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| Content |
object |
The list of reports. |
"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> |
The report data. |
|
|
array<object> |
The report data. |
||
| deliver |
object |
The display format of the report. |
|
| report |
object |
The report information. |
|
| format |
string |
The display format. |
table |
| header |
array |
The list of table headers. |
|
|
string |
The table header. |
url |
|
| outLine |
integer |
The number of output rows. |
0 |
| outSize |
integer |
The output size. |
0 |
| shape |
string |
The chart type of the report. |
line |
| title |
string |
The title of the report. |
TopUrlByAcc |
| reportId |
integer |
The report ID. |
1 |
Deskripsi parameter data.
| Parameter | Tipe | Deskripsi |
| reportId | Long | ID laporan. |
| deliver | report | Gaya laporan. |
Deskripsi parameter report.
| Parameter | Tipe | Deskripsi |
| title | String | Judul laporan. |
| format | String | Tipe laporan. Nilai valid: chart: Laporan berupa Grafik. table: Laporan berupa tabel. |
| shape | String | Tipe Grafik. Jika parameter format diatur ke table, abaikan parameter ini. Nilai valid: line: Grafik garis. pie: Grafik pai. bar: Grafik kolom. |
| header | String[] | Field Header tabel laporan. |
| legend | String | Field 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.