Page User Experience
Query Page List
Method: POST
http://${domain}/browser-api/page/pageSqeList
Request parameters
| Field | Type | Required | Description | Note |
|---|---|---|---|---|
| browserApplicationId | Int | Yes | Application ID | For example: 1 |
| focusType | Int | Yes | Whether it's a key page | 1 for key pages only, 0 for all |
| dimensions | String | Yes | Display host, URL, parameters | For example: host, uri, pageParams |
| timePeriod | String | Yes | Query time range | Unit: minutes, value: 60 |
| endTime | String | Yes | Query end time | Value format: 2020-07-23 17:18 |
| countTotal | Int | No | PV range | For example: 10<countTotal<1000 |
| limit | int | No | Number of results to return | Default: 10000, recommended: 1000 |
Response parameters
| Field | Type |
|---|---|
| urlAlias | String |
| durationTime | Integer |
| pageParamsAlias | String |
| firstPaintTime | Integer |
| traceCountUvTotal | Integer |
| domReadyTime | Integer |
| focus | Boolean |
| uvTotal | Integer |
| params | String |
| pageRenderTime | Integer |
| uri | String |
| htmlLoadTime | Integer |
| traceCount | Integer |
| firstScreenTime | Integer |
| host | String |
| countTotal | Integer |
| jsErrorRate | Integer |
| hostAlias | String |
| traceCountRate | Integer |
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
}