Gunakan DescribeDcdnDomainPvData untuk mengkueri statistik page view (PV) suatu Nama domain dengan granularitas minimum satu jam.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnDomainPvData |
get |
domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
nama domain yang dipercepat. Anda hanya dapat mengkueri satu Nama domain dalam satu waktu. |
example.com |
| StartTime |
string |
No |
Waktu mulai rentang waktu yang akan dikueri. Tentukan waktu dalam standar ISO 8601. Formatnya adalah yyyy-MM-ddTHH:mm:ssZ. Waktu harus dalam UTC. |
2019-11-28T00:00:00Z |
| EndTime |
string |
No |
Waktu akhir rentang waktu yang akan dikueri. Tentukan waktu dalam standar ISO 8601. Formatnya adalah yyyy-MM-ddTHH:mm:ssZ. Waktu harus dalam UTC. |
2019-11-29T00:00:00Z |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| EndTime |
string |
Waktu akhir rentang waktu. |
2019-11-29T00:00:00Z |
| StartTime |
string |
Waktu mulai rentang waktu. |
2019-11-28T00:00:00Z |
| RequestId |
string |
ID permintaan. |
BCD7D917-76F1-442F-BB75-C810DE34C761 |
| DomainName |
string |
nama domain yang dipercepat. |
example.com |
| DataInterval |
string |
Interval waktu antara catatan data. Satuan: detik. |
3600 |
| PvDataInterval |
object |
||
| UsageData |
array<object> |
Jumlah page view pada setiap interval waktu. |
|
|
object |
|||
| Value |
string |
Data penggunaan. |
9292 |
| TimeStamp |
string |
Waktu mulai slot waktu. |
2015-11-28T03:00:00Z |
Contoh
Respons sukses
JSONformat
{
"EndTime": "2019-11-29T00:00:00Z",
"StartTime": "2019-11-28T00:00:00Z",
"RequestId": "BCD7D917-76F1-442F-BB75-C810DE34C761",
"DomainName": "example.com",
"DataInterval": "3600",
"PvDataInterval": {
"UsageData": [
{
"Value": "9292",
"TimeStamp": "2015-11-28T03:00:00Z"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidStartTime.Malformed | The specified StartTime parameter is invalid. | The format of the specified start time is invalid. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
| 400 | InvalidEndTime.Malformed | The specified EndTime is invalid. | The format of the specified end time is invalid. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
| 400 | InvalidStartTime.ValueNotSupported | The specified StartTime is invalid. | The specified start time is invalid. |
| 400 | MissingTimeParameter | The StartTime and EndTime must be both specified. | You must set both the start time and the end time. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.