获取单个短链接监控访问记录
GET
/api/short-link/admin/v1/stats/access-record请求参数
Query 参数
fullShortUrl
string
完整短链接
gid
string
分组标识
startDate
string
开始日期
示例值:
2023-11-14
endDate
string
结束日期
示例值:
2023-11-16
current
integer
当前页
示例值:
1
size
integer
每页大小
示例值:
10
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
message
null
必需
data
object
必需
size
integer
必需
current
integer
必需
records
array [object {8}]
必需
pages
integer
必需
total
integer
必需
requestId
null
必需
success
boolean
必需
示例
{
"code": "0",
"message": null,
"data": {
"pv": null,
"uv": null,
"uip": null,
"daily": [
{
"date": "2023-11-14",
"pv": 18,
"uv": 2,
"uip": 0
},
{
"date": "2023-11-15",
"pv": 2,
"uv": 0,
"uip": 0
}
],
"localeCnStats": [
{
"cnt": 4,
"locale": "北京",
"ratio": 0.17
},
{
"cnt": 20,
"locale": "未知",
"ratio": 0.83
}
],
"hourStats": [
0,
0,
0,
0,
0,
0,
0,
0,
5,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
15
],
"topIpStats": [
{
"cnt": 6,
"ip": "127.0.0.2"
},
{
"cnt": 2,
"ip": "127.0.0.1"
}
],
"weekdayStats": [
0,
0,
0,
0,
0,
0,
0,
0
],
"browserStats": [
{
"cnt": 3,
"browser": "Apple Safari",
"ratio": 0.3
},
{
"cnt": 4,
"browser": "Google Chrome",
"ratio": 0.4
},
{
"cnt": 1,
"browser": "Microsoft Edge",
"ratio": 0.1
},
{
"cnt": 2,
"browser": "Google Chrome",
"ratio": 0.2
}
],
"osStats": [
{
"cnt": 16,
"os": "Mac OS",
"ratio": 0.89
},
{
"cnt": 2,
"os": "Mac OS",
"ratio": 0.11
}
],
"uvTypeStats": [
{
"cnt": 2,
"uvType": "newUser",
"ratio": 0.5
},
{
"cnt": 2,
"uvType": "oldUser",
"ratio": 0.5
}
],
"deviceStats": [
{
"cnt": 3,
"device": "Mobile",
"ratio": 0.43
},
{
"cnt": 4,
"device": "PC",
"ratio": 0.57
}
],
"networkStats": [
{
"cnt": 1,
"network": "Mobile",
"ratio": 0.5
},
{
"cnt": 1,
"network": "WIFI",
"ratio": 0.5
}
]
},
"requestId": null,
"success": true
}
最后修改时间: a year ago