文档
测试

热门访问来源

POST
http://47.75.9.94:2222/api/v1/cdn/web/stats/hotspot/referer

请求参数

参数名
类型
描述
必填
domain
json
域名
必填
from
int
开始时间戳
必填
to
int
结束时间戳
必填
interval
int
时间粒度
必填

响应参数

参数名
类型
描述
必填
pv
int
访问次数
必填
httpReferer
int
来源
必填
percent
float
百分比(小数)
必填

说明 / 示例

请求示例 ``` { "domain":["www.163.com","163.com"], "from":1627142400000, "to":1627747200000, "interval":5 } ``` 返回示例 ``` { "status": 200, "timestamp": 1627822972, "message": "success", "data": [ { "pv": "2045", "httpReferer": "http://www.163.com/bofang/278", "percent": 0.11 }, { "pv": "2041", "httpReferer": "http://www.163.com/bofang/78", "percent": 0.11 }, { "pv": "1973", "httpReferer": "http://www.163.com/bofang/276", "percent": 0.11 }, { "pv": "1935", "httpReferer": "http://www.163.com/bofang/277", "percent": 0.11 }, { "pv": "1763", "httpReferer": "http://www.163.com/bofang/275", "percent": 0.1 }, { "pv": "1740", "httpReferer": "http://www.163.com/bofang/75", "percent": 0.1 }, { "pv": "1666", "httpReferer": "http://www.163.com/bofang/115", "percent": 0.09 }, { "pv": "1661", "httpReferer": "http://www.163.com/bofang/114", "percent": 0.09 }, { "pv": "1596", "httpReferer": "http://www.163.com/bofang/111", "percent": 0.09 }, { "pv": "1590", "httpReferer": "http://www.163.com/bofang/112", "percent": 0.09 } ] } ```