Skip to main content

Page User Experience

Query Page List

Method: POST

http://${domain}/browser-api/page/pageSqeList

Request parameters

FieldTypeRequiredDescriptionNote
browserApplicationIdIntYesApplication IDFor example: 1
focusTypeIntYesWhether it's a key page1 for key pages only, 0 for all
dimensionsStringYesDisplay host, URL, parametersFor example: host, uri, pageParams
timePeriodStringYesQuery time rangeUnit: minutes, value: 60
endTimeStringYesQuery end timeValue format: 2020-07-23 17:18
countTotalIntNoPV rangeFor example: 10<countTotal<1000
limitintNoNumber of results to returnDefault: 10000, recommended: 1000

Response parameters

FieldType
urlAliasString
durationTimeInteger
pageParamsAliasString
firstPaintTimeInteger
traceCountUvTotalInteger
domReadyTimeInteger
focusBoolean
uvTotalInteger
paramsString
pageRenderTimeInteger
uriString
htmlLoadTimeInteger
traceCountInteger
firstScreenTimeInteger
hostString
countTotalInteger
jsErrorRateInteger
hostAliasString
traceCountRateInteger

Request example

"datasource": "BRS_PAGE",
"dimensions": [ // Dimensions
"host",
"uri",
"pageParams"
],
"metrics": [
"focus", // Critical page
"urlAlias", // Alias
"countTotal", // PV
"uvTotal", // Number of users
"firstPaintTime", // First paint
"firstScreenTime", // First screen
"domReadyTime", // DOM interactive
"durationTime", // Fully loaded
"traceCount", // Slow page count
"traceCountUvTotal", // Slow page affecting users
"jsErrorRate", // JS error rate
"htmlLoadTime", // HTML load
"pageRenderTime", // Front-end time
"requestTime", // Back-end time
"networkResponseTime" // Network time
],
"filters": [
{
"name": "browserApplicationId",
"value": [
213
],
"operator": "IN"
},
{
"name": "focusType",
"value": [
0
],
"operator": "IN"
},
{
"name": "countTotal",
"value": [
"21"
],
"operator": ">"
},
{
"name": "countTotal",
"value": [
"23"
],
"operator": "<"
}
],
"limit": 1000,
"render": "list"
}

Response example

{
"code": 200,
"data": {
"list": [
{
"urlAlias":"", // Alias
"durationTime":"0", // Fully loaded
"pageParamsAlias":"1.1.1.1/*/*/js?ceshi=res.yuanjie555&service=res.cr...",
"firstPaintTime":"0", // First paint
"traceCountUvTotal":0, // Slow page affecting users
"domReadyTime":"0", // DOM interactive
"focus":"true", // Whether it is a critical page, true for yes
"uvTotal":1, // Number of users
"params":"ceshi=res.yuanjie555&service=res.crm.busicommon.ph...", // Parameters
"pageRenderTime":"0", // Front-end time
"uri":"/*/*/js", // URI
"htmlLoadTime":"0", // HTML load time
"traceCount":0, // Slow page count
"firstScreenTime":"0", // First screen
"host":"1.1.1.1", // Host
"countTotal":0, // PV
"jsErrorRate":"0", // JS error rate
"hostAlias":"",
"traceCountRate":"0"
}
]
},
"msg": "success",
"status": 200
}