跳到主要内容

操作

查询操作列表

方法:GET

http://${域名}/browser-api/opera/operaSqeList

请求参数

字段类型必选说明备注
browserApplicationIdInt应用ID例如:1
focusTypeInt是否关键操作1为只查关键操作,0为查询全部
dimensionsString展示主机、URL、参数例如:oprtName
timePeriodString查询时间范围单位:分钟,可传值:60
endTimeString查询结束事件可传值:2020-07-23 17:18
countTotalIntPV范围例如:10<countTotal<1000
limitint返回条数默认:10000,建议1000

返回参数

字段类型
operationAjaxErrorString
operationCountNumber
oprtNameString
operationAvailabilityString
uvTotalNumber
operationAjaxTimeNumber
operationAjaxTotalNumber
operationTimeNumber

请求示例

{
"timePeriod":43200,
"endTime":"2023-02-22 18:17",
"datasource":"BN_OPRT",
"dimensions":[
"oprtName"
],
"filters":[
{
"name":"browserApplicationId",
"value":[
1225
],
"operator":"IN"
},
{
"name":"focusType",
"value":[
0
],
"operator":"IN"
}
],
"metrics":[
"focusOprt",
"oprtName",
"operationCount",
"uvTotal",
"operationTime",
"operationAvailability",
"operationAjaxTime",
"operationAjaxTotal",
"operationAjaxError"
],
"orderByExprs":"operationCount desc",
"render":"list",
"limit":1000
}

返回示例

[
{
"operationAjaxError":"100",//ajax错误率
"operationCount":4,//操作次数
"oprtName":"yuanjie 投影时间测试1我", //操作名称
"operationAvailability":"100",//操作可用性
"uvTotal":1,//uv
"operationAjaxTime":642,//操作请求耗时
"operationAjaxTotal":8,//ajax请求次数
"operationTime":650//操作时间
}
]