DescribeDomainPvData
描述
获取加速域名最小1小时粒度的 PV页面访问统计
不指定StartTime和EndTime时,默认读取过去24小时的数据,同时支持按指定的起止时间查询,两者需要同时指定。
- 只支持一个域名,或当前用户下所有域名
- 最多可获取最近90天的数据
请求参数
返回参数
UsageData
特殊错误码
示例
请求示例:
http://cdn.aliyuncs.com?Action=DescribeDomainPvData&DomainName=test.com
&StartTime=2015-11-28
&EndTime=2015-11-29
&<公共请求参数>
返回示例:
JSON格式
{
"DataInterval": "3600",
"RequestId": "BCD7D917-76F1-442F-BB75-C810DE34C761",
"DomainName": "test.com",
"EndTime": "2015-11-29",
"PvDataInterval": {
"UsageData": [
{
"TimeStamp": "2015-11-28T03:00:00Z",
"Value": "9292"
},
{
"TimeStamp": "2015-11-28T23:00:00Z",
"Value": "9239"
},
{
"TimeStamp": "2015-11-28T07:00:00Z",
"Value": "9464"
},
{
"TimeStamp": "2015-11-28T12:00:00Z",
"Value": "9379"
},
{
"TimeStamp": "2015-11-28T22:00:00Z",
"Value": "9243"
},
{
"TimeStamp": "2015-11-28T10:00:00Z",
"Value": "10063"
},
{
"TimeStamp": "2015-11-28T15:00:00Z",
"Value": "9068"
},
{
"TimeStamp": "2015-11-28T14:00:00Z",
"Value": "9353"
},
{
"TimeStamp": "2015-11-28T04:00:00Z",
"Value": "9513"
},
{
"TimeStamp": "2015-11-28T02:00:00Z",
"Value": "9377"
},
{
"TimeStamp": "2015-11-28T08:00:00Z",
"Value": "9579"
},
{
"TimeStamp": "2015-11-28T20:00:00Z",
"Value": "9109"
},
{
"TimeStamp": "2015-11-28T09:00:00Z",
"Value": "10631"
},
{
"TimeStamp": "2015-11-28T06:00:00Z",
"Value": "9587"
},
{
"TimeStamp": "2015-11-28T01:00:00Z",
"Value": "9108"
},
{
"TimeStamp": "2015-11-28T16:00:00Z",
"Value": "9454"
},
{
"TimeStamp": "2015-11-28T21:00:00Z",
"Value": "9285"
},
{
"TimeStamp": "2015-11-28T19:00:00Z",
"Value": "9059"
},
{
"TimeStamp": "2015-11-28T00:00:00Z",
"Value": "9470"
},
{
"TimeStamp": "2015-11-28T05:00:00Z",
"Value": "11830"
},
{
"TimeStamp": "2015-11-28T13:00:00Z",
"Value": "9992"
},
{
"TimeStamp": "2015-11-28T17:00:00Z",
"Value": "9529"
},
{
"TimeStamp": "2015-11-28T18:00:00Z",
"Value": "9203"
},
{
"TimeStamp": "2015-11-28T11:00:00Z",
"Value": "9604"
}
]
},
"StartTime": "2015-11-28"
}
XML格式:
<DescribeDomainPvDataResponse>
<DataInterval>3600</DataInterval>
<RequestId>BC462C42-7580-468C-A346-03BCAD7503F6</RequestId>
<DomainName>test.com</DomainName>
<EndTime>2015-11-29</EndTime>
<PvDataInterval>
<UsageData>
<TimeStamp>2015-11-28T03:00:00Z</TimeStamp>
<Value>9292</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T23:00:00Z</TimeStamp>
<Value>9239</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T07:00:00Z</TimeStamp>
<Value>9464</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T12:00:00Z</TimeStamp>
<Value>9379</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T22:00:00Z</TimeStamp>
<Value>9243</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T10:00:00Z</TimeStamp>
<Value>10063</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T15:00:00Z</TimeStamp>
<Value>9068</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T14:00:00Z</TimeStamp>
<Value>9353</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T04:00:00Z</TimeStamp>
<Value>9513</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T02:00:00Z</TimeStamp>
<Value>9377</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T08:00:00Z</TimeStamp>
<Value>9579</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T20:00:00Z</TimeStamp>
<Value>9109</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T09:00:00Z</TimeStamp>
<Value>10631</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T06:00:00Z</TimeStamp>
<Value>9587</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T01:00:00Z</TimeStamp>
<Value>9108</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T16:00:00Z</TimeStamp>
<Value>9454</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T21:00:00Z</TimeStamp>
<Value>9285</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T19:00:00Z</TimeStamp>
<Value>9059</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T00:00:00Z</TimeStamp>
<Value>9470</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T05:00:00Z</TimeStamp>
<Value>11830</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T13:00:00Z</TimeStamp>
<Value>9992</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T17:00:00Z</TimeStamp>
<Value>9529</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T18:00:00Z</TimeStamp>
<Value>9203</Value>
</UsageData>
<UsageData>
<TimeStamp>2015-11-28T11:00:00Z</TimeStamp>
<Value>9604</Value>
</UsageData>
</PvDataInterval>
<StartTime>2015-11-28</StartTime>
</DescribeDomainPvDataResponse>