跳到主要内容

地域

查询地域列表

方法:GET

http://${域名}/browser-api/region/regionSqeList

请求参数

字段类型必选说明备注
browserApplicationIdInt应用ID例如:1
dimensionsString展示主机、URL、参数例如:oprtName
timePeriodString查询时间范围单位:分钟,可传值:60
endTimeString查询结束事件可传值:2020-07-23 17:18
countTotalIntPV范围例如:10<countTotal<1000
limitint返回条数默认:10000,建议1000
brsPageMetricsString页面表指标例如:countTotal
brsOprtMetricsString操作表指标例如:operationCount

返回参数

字段类型
operationCountString
firstPaintTimeNumber
firstPaintTime75String
regionNameString
operationTime75Number
domReadyTimeNumber
uvTotalNumber
firstScreenTime75Number
operationTimeNumber
uxScoreNumber
domReadyTime75Number
operationAvailabilityString
firstScreenTimeString
regionIdNumber
countTotalNumber
traceCountRateString

请求示例

{
"timePeriod":43200,
"endTime":"2023-02-22 18:33",
"datasource":"BRS_PAGE",
"dimensions":[
"regionId"
],
"filters":[
{
"name":"browserApplicationId",
"value":[
1225
],
"operator":"IN"
},
{
"name":"countryId",
"value":[
"48"
],
"operator":"IN"
}
],
"brsPageMetrics":[
"regionName",
"uxScore",
"countTotal",
"uvTotal",
"traceCountRate",
"firstScreenTime",
"firstPaintTime",
"domReadyTime"
],
"brsOprtMetrics":[
"operationCount",
"operationAvailability",
"operationTime"
],
"render":"list",
"orderByExprs":"countTotal desc",
"limit":1000
}

返回示例

[
{
"operationCount":14, //操作次数
"firstPaintTime":"5039", //白屏
"firstPaintTime75":0, //白屏75分位值
"regionName":"山西", //省份
"operationTime75":2077, //操作时间75分位值
"domReadyTime":"7354", //可交互时间
"uvTotal":36, //UV
"firstScreenTime75":0, //首屏75分位值
"operationTime":1679, //操作时间
"uxScore":100, //用户体验评分
"domReadyTime75":0, //可交互时间75分位值
"operationAvailability":"85.71", //操作可用性
"firstScreenTime":"8348", //首屏
"regionId":4814, //省份ID
"countTotal":4, //PV
"traceCountRate":"100" //慢页面占比
}
]