@rzzx
2017-08-02T08:14:24.000000Z
字数 21858
阅读 893
Browser
文档中主机名需要参考以下配置:
treeJSON数据如果只需要中文,需请求数据头文件里声明'X-Accept-Language': 'zh-cn'
baseonId讲解
| baseonId | 说明 | 备注 |
|---|---|---|
| 1 | 完全加载 | |
| 27 | HTML加载 | |
| 28 | 页面渲染 | |
| 3 | 页面耗时占比 | |
| 35 | 慢页面耗时占比 |
URL
/browserapp/selectfilter/page/hosts.json
示例URL
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token客户端获取 |
| browserAppId | true | int | browser ID |
| baseonId | true | int | baseonId讲解中相对应的值 |
| timeType | false | int | 先默认为1 |
| endTime | false | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
| timePeriod | false | string | 时间间隔 相差多少分钟 |
| orderId | false | int | 排序方式 前面打钩(选中)的情况下是4 未选中情况下是null(0) |
响应数据
/*成功响应*/{"status":200,"data":[ {"pId" : "-2","formatValue" : "2.413",//值"tmTick" : null,"duration_total_caller_percent" : 0.0,"jserror_top5_uri_percent" : 0.0,"id" : "1","name" : "reportalpha1.tingyun.com",//name"unit" : "秒",//单位"hostId" : 123798,//二级tree使用和图表都需要传递的值(参数:host_id)"uriId" : null,"jsErrorId" : null,"webBrowserId" : null,"webBrowserVersionId" : null,"countryId" : null,"regionId" : null,"cityId" : null,"carrierId" : null,"connectTypeId" : null,"errorCode" : null,"browserMediaId" : null,"wholeUriId" : null,"mediaErrorCode" : null,"urlPattern" : "reportalpha1.tingyun.com","value" : 2.413},...]}/*错误响应*/{"status":-1,"data":"_ty_auth_token is NULL"}/*错误响应*/{"status":-500,"message":"system error."}
URL
/browserapp/selectfilter/page/urls.json
示例URL
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token客户端获取 |
| browserAppId | true | int | browser ID |
| host_id | true | int | 在一级tree中 |
| baseonId | true | int | baseonId讲解中相对应的值 |
| timeType | false | int | 先默认为1 |
| endTime | false | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
| timePeriod | false | string | 时间间隔 相差多少分钟 |
| orderId | false | int | 排序方式 前面打钩(选中)的情况下是4,未选中情况下是null(0) |
| pageNo | false | int | 第几页,默认为1 |
| pageSize | false | int | 每页大小 |
| limit | false | int | 取top数,limit=20,就是只取top20的值 |
响应数据
/*成功响应*/{"status":200,"data":[ {"pId" : "123798","formatValue" : "1.889",//值"tmTick" : null,"duration_total_caller_percent" : 0.0,"jserror_top5_uri_percent" : 0.0,"id" : "123798-1","name" : "https:SpringController/KeyActionController/overview","unit" : "秒","hostId" : 123798,//图表调用需要传递的值(参数:host_id)"uriId" : 19531775,//图表调用需要传递的值(参数:uri_id)"jsErrorId" : null,"webBrowserId" : null,"webBrowserVersionId" : null,"countryId" : null,"regionId" : null,"cityId" : null,"carrierId" : null,"connectTypeId" : null,"errorCode" : null,"browserMediaId" : null,"wholeUriId" : null,"mediaErrorCode" : null,"urlPattern" : "https:SpringController/KeyActionController/overview","value" : 1.889},...]}/*错误响应*/{"status":-1,"data":"_ty_auth_token is NULL"}/*错误响应*/{"status":-500,"message":"system error."}
baseonId讲解
| baseonId | 说明 | 备注 |
|---|---|---|
| 1 | 完全加载 | |
| 27 | HTML加载 | |
| 29 | DNS | |
| 30 | 建连 | |
| 31 | 首包 | |
| 32 | 剩余包 | |
| 3 | 页面耗时占比 | |
| 35 | 慢页面占比 | |
| 4 | 吞吐率 | |
| ; | ; | |
| 17 | 总耗时占比 | |
| 15 | 吞吐率 | |
| 8 | 响应时间 | |
| 9 | 传输数据量 | |
| 10 | 回调时间 |
应用分析URL
/browserapp/selectfilter/geo/regions.json
关键页面URL
/browser/keypage/selectfilter/geo/regions.json
关键AJAXURL
/keyajax/selectfilter/geo/regions.json
应用分析示例URL
关键页面示例URL(多了browserKeyPageId参数)
关键AJAX示例URL(比应用分析多了browserKeyPageId参数)
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token客户端获取 |
| browserAppId | true | int | browser ID |
| browserKeyPageId | true | int | browserKeyPageId ID(关键页面需要传) |
| browserKeyAjaxId | true | int | browserKeyAjaxId ID(关键AJAX需要传) |
| baseonId | true | int | baseonId讲解中相对应的值 |
| countryId | true | int | 固定传48(之后的图表也需要传) |
| hideLowerThroughtput | false | int | 隐藏访问量<1%是否选中,选中:1,未选中:0 |
| timeType | false | int | 先默认为1 |
| endTime | false | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
| timePeriod | false | string | 时间间隔 相差多少分钟 |
| orderId | false | int | 排序方式 前面打钩(选中)的情况下是4,未选中情况下是null(0) |
响应数据(应用分析和关键页面和关键AJAX是一样的)
/*成功响应*/{"status":200,"data":[{"pId":"48","formatValue":"20.276",//value"tmTick":null,"duration_total_caller_percent":0,"jserror_top5_uri_percent":0,"id":"48-1","name":"重庆",//name"unit":"秒",//单位"hostId":null,"uriId":null,"jsErrorId":null,"webBrowserId":null,"webBrowserVersionId":null,"countryId" : 48,//图表调用需要传递的值(参数:countryId)"regionId" : 4850,//图表调用需要传递的值(参数:regionId)"cityId" : null,//图表调用需要传递的值(参数:cityId)"carrierId" : 0,//图表调用需要传递的值(参数:carrierId)"connectTypeId":null,"errorCode":null,"browserMediaId":null,"wholeUriId":null,"mediaErrorCode":null,"urlPattern":null,"value":20.276},...]}/*错误响应*/{"status":-1,"data":"_ty_auth_token is NULL"}/*错误响应*/{"status":-500,"message":"system error."}
应用分析URL
/browserapp/selectfilter/geo/citys.json
关键页面URL
/browser/keypage/selectfilter/geo/citys.json
关键AJAXURL
/keyajax/selectfilter/geo/citys.json
应用分析示例URL
关键页面示例URL(多了browserKeyPageId参数)
关键AJAX示例URL(比应用分析多了browserKeyPageId参数)
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token客户端获取 |
| browserAppId | true | int | browser ID |
| browserKeyPageId | true | int | browserKeyPageId ID(关键页面需要传) |
| browserKeyAjaxId | true | int | browserKeyAjaxId ID(关键AJAX需要传) |
| baseonId | true | int | baseonId讲解中相对应的值 |
| regionId | true | int | 一级tree的regionId |
| hideLowerThroughtput | false | int | 隐藏访问量<1%是否选中,选中:1,未选中:0 |
| timeType | false | int | 先默认为1 |
| endTime | false | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
| timePeriod | false | string | 时间间隔 相差多少分钟 |
| orderId | false | int | 排序方式 前面打钩(选中)的情况下是4,未选中情况下是null(0) |
响应数据(应用分析和关键页面和关键AJAX是一样的)
/*成功响应*/{"status":200,"data":[{"pId" : "4850","formatValue" : null,//value"tmTick" : null,"duration_total_caller_percent" : 0.0,"jserror_top5_uri_percent" : 0.0,"id" : "4850-1","name" : "重庆市",//name"unit" : "秒",//单位"hostId" : null,"uriId" : null,"jsErrorId" : null,"webBrowserId" : null,"webBrowserVersionId" : null,"countryId" : null,"regionId" : 4850,"cityId" : 485001,"carrierId" : null,"connectTypeId" : null,"errorCode" : null,"browserMediaId" : null,"wholeUriId" : null,"mediaErrorCode" : null,"urlPattern" : null,"value" : 20.276},...]}/*错误响应*/{"status":-1,"data":"_ty_auth_token is NULL"}/*错误响应*/{"status":-500,"message":"system error."}
应用分析URL
/browserapp/selectfilter/combo/combos.json
关键页面URL
/browser/keypage/selectfilter/combo/combos.json
关键AJAXURL
/browser/keyajax/selectfilter/combo/combos.json
应用分析示例URL
关键页面示例URL(多了browserKeyPageId参数)
关键AJAX示例URL(比应用分析多了browserKeyPageId参数)
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token客户端获取 |
| browserAppId | true | int | browser ID |
| browserKeyPageId | true | int | browserKeyPageId ID(关键页面需要传) |
| browserKeyAjaxId | true | int | browserKeyAjaxId ID(关键AJAX需要传) |
| baseonId | true | int | baseonId讲解中相对应的值 |
| filterGeoType | true | int | 3(固定) |
| groupId | true | int | 3145728(固定) |
| cityId | true | int | 从二级tree中cityId获取 |
| filterGeoId | true | int | filterGeoId=cityId |
| hideLowerThroughtput | false | int | 隐藏访问量<1%是否选中,选中:1,未选中:0 |
| timeType | false | int | 先默认为1 |
| endTime | false | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
| timePeriod | false | string | 时间间隔 相差多少分钟 |
| orderId | false | int | 排序方式 前面打钩(选中)的情况下是4,未选中情况下是null(0) |
响应数据(应用分析和关键页面是一样的)
/*成功响应*/{"status":200,"data":[{"pId" : "-2","formatValue" : null,//value"tmTick" : null,"duration_total_caller_percent" : 0.0,"jserror_top5_uri_percent" : 0.0,"id" : "1","name" : "重庆市_中国电信",//name"unit" : "秒",//单位"hostId" : null,"uriId" : null,"jsErrorId" : null,"webBrowserId" : null,"webBrowserVersionId" : null,"countryId" : null,"regionId" : null,"cityId" : 485001,"carrierId" : 17,"connectTypeId" : null,"errorCode" : null,"browserMediaId" : null,"wholeUriId" : null,"mediaErrorCode" : null,"urlPattern" : null,"value" : 20.276},...]}/*错误响应*/{"status":-1,"data":"_ty_auth_token is NULL"}/*错误响应*/{"status":-500,"message":"system error."}
baseonId讲解
| baseonId | 说明 | 备注 |
|---|---|---|
| 1 | 完全加载 | |
| 27 | HTML加载 | |
| 29 | DNS | |
| 30 | 建连 | |
| 31 | 首包 | |
| 32 | 剩余包 | |
| 3 | 页面耗时占比 | |
| 35 | 慢页面占比 | |
| 36 | 吞吐率 | |
| ; | ; | |
| 17 | 总耗时占比 | |
| 15 | 吞吐率 | |
| 8 | 响应时间 | |
| 9 | 传输数据量 | |
| 10 | 回调时间 |
备注(这一段我会特别讲解)
1.运营商tab直接点击,出来的图表不需要传其余的参数,当点击运营商tree时,这时图表需要传countryId和carrierId参数。
2.这时进入了省份运营商的tab页,再点击省份运营商的tree时,这时图表需要传countryId、carrierId、regionId(城市运营商页面耗时图表可能不希望切换城市),而HTML加载分解图表又有city的选项所以要多加一个参数cityId
应用分析URL
/browserapp/selectfilter/combo/combos.json
关键页面URL
/browser/keypage/selectfilter/combo/combos.json
关键AJAXURL
/browser/keyajax/selectfilter/combo/combos.json
应用分析示例URL
关键页面示例URL(多了browserKeyPageId参数)
关键AJAX示例URL(比应用分析多了browserKeyPageId参数)
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token客户端获取 |
| browserAppId | true | int | browser ID |
| browserKeyPageId | true | int | browserKeyPageId ID(关键页面需要传) |
| browserKeyAjaxId | true | int | browserKeyAjaxId ID(关键AJAX需要传) |
| baseonId | true | int | baseonId讲解中相对应的值 |
| groupId | true | int | 运营商:2359296、省份运营商:2621440、城市运营商:3145728 |
| hideLowerThroughtput | false | int | 隐藏访问量<1%是否选中,选中:1,未选中:0 |
| timeType | false | int | 先默认为1 |
| endTime | false | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
| timePeriod | false | string | 时间间隔 相差多少分钟 |
| orderId | false | int | 排序方式 前面打钩(选中)的情况下是4,未选中情况下是null(0) |
响应数据(应用分析和关键页面和关键AJAX是一样的)
/*成功响应*/{"status":200,"data":[ {"pId" : "-2","formatValue" : "1.78",//值"tmTick" : null,"duration_total_caller_percent" : 0.0,"jserror_top5_uri_percent" : 0.0,"id" : "1","name" : "#246_未知",//name"unit" : "秒",//单位"hostId" : null,"uriId" : null,"jsErrorId" : null,"webBrowserId" : null,"webBrowserVersionId" : null,"countryId" : 246,//图表调用需要传递的值(参数:countryId)"regionId" : null,//图表调用需要传递的值(参数:regionId)"cityId" : null,//图表调用需要传递的值(参数:cityId)"carrierId" : 0,//图表调用需要传递的值(参数:carrierId)"connectTypeId" : null,"errorCode" : null,"browserMediaId" : null,"wholeUriId" : null,"mediaErrorCode" : null,"urlPattern" : null,"value" : 1.78},...]}/*错误响应*/{"status":-1,"data":"_ty_auth_token is NULL"}/*错误响应*/{"status":-500,"message":"system error."}
baseonId讲解
| baseonId | 说明 | 备注 |
|---|---|---|
| 6 | 总耗时占比 | |
| 15 | 吞吐率 | |
| 8 | 响应时间 | |
| 9 | 传输数据量 | |
| 10 | 回调时间 |
URL
/browserapp/selectfilter/ajax/hosts.json
示例URL
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token客户端获取 |
| browserAppId | true | int | browser ID |
| baseonId | true | int | baseonId讲解中相对应的值 |
| timeType | false | int | 先默认为1 |
| endTime | false | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
| timePeriod | false | string | 时间间隔 相差多少分钟 |
| orderId | false | int | 排序方式 前面打钩(选中)的情况下是4,未选中情况下是null(0) |
| limit | false | int | 取top数,limit=20,就是只取top20的值 |
响应数据
/*成功响应*/{"status":200,"data":[ {"pId" : "-2","formatValue" : "99.98",//vlaue"tmTick" : null,"duration_total_caller_percent" : 0.0,"jserror_top5_uri_percent" : 0.0,"id" : "1","name" : "reportalpha1.tingyun.com",//name"unit" : "%",//单位"hostId" : 123798,//二级tree和图表调用需要传递的值(参数:host_id)"uriId" : null,"jsErrorId" : null,"webBrowserId" : null,"webBrowserVersionId" : null,"countryId" : null,"regionId" : null,"cityId" : null,"carrierId" : null,"connectTypeId" : null,"errorCode" : null,"browserMediaId" : null,"wholeUriId" : null,"mediaErrorCode" : null,"urlPattern" : "reportalpha1.tingyun.com","value" : 99.98},...]}/*错误响应*/{"status":-1,"data":"_ty_auth_token is NULL"}/*错误响应*/{"status":-500,"message":"system error."}
应用分析URL
/browser/browserapp/selectfilter/ajax/urls.json
关键页面URL
/browser/keypage/selectfilter/ajax/urls.json
应用分析示例URL
关键页面示例URL(多了browserKeyPageId参数,没有host_id参数)
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token客户端获取 |
| browserAppId | true | int | browser ID |
| browserKeyPageId | true | int | browserKeyPageId ID(关键页面需要传) |
| host_id | true | int | 在一级tree中 |
| baseonId | true | int | baseonId讲解中相对应的值 |
| timeType | false | int | 先默认为1 |
| endTime | false | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
| timePeriod | false | string | 时间间隔 相差多少分钟 |
| pageNo | false | int | 第几页,默认为1 |
| pageSize | false | int | 每页大小 |
| limit | false | int | 取top数,limit=20,就是只取top20的值 |
TOP5 错误类型错误率这个表需要多传递一个error_type=1,2(固定)
响应数据
/*成功响应*/{"status":200,"data":[ {"pId" : "123798","formatValue" : "35.94",//value"tmTick" : null,"duration_total_caller_percent" : 0.0,"jserror_top5_uri_percent" : 0.0,"id" : "123798-1","name" : "GET https:SpringController/HighchartsServerChartDataController/handleApplicationChart",//name"unit" : "%",//单位"hostId" : 123798,//图表调用需要传递的值(参数:host_id)"uriId" : 19531445,//图表调用需要传递的值(参数:uri_id)"jsErrorId" : null,"webBrowserId" : null,"webBrowserVersionId" : null,"countryId" : null,"regionId" : null,"cityId" : null,"carrierId" : null,"connectTypeId" : null,"errorCode" : null,"browserMediaId" : null,"wholeUriId" : null,"mediaErrorCode" : null,"urlPattern" : "GET https:SpringController/HighchartsServerChartDataController/handleApplicationChart","value" : 35.94},...]}/*错误响应*/{"status":-1,"data":"_ty_auth_token is NULL"}/*错误响应*/{"status":-500,"message":"system error."}
应用分析URL
/browserapp/selectfilter/js/errors.json
关键页面URL
/keypage/selectfilter/js/errors.json
应用分析示例URL
关键页面示例URL(多了browserKeyPageId参数)
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token客户端获取 |
| browserAppId | true | int | 应用ID |
| browserKeyPageId | true | int | browserKeyPageId ID(关键页面需要传) |
| endTime | false | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
| timePeriod | false | string | 时间间隔 相差多少分钟 |
| timeType | false | string | 默认传1 |
| limit | false | int | 取top数,limit=20,就是只取top20的值 |
响应数据(应用分析和关键页面是一样的)
/*成功响应*/{"status":200,"data":[ {"pId" : "-2","formatValue" : "480",//value"tmTick" : null,"duration_total_caller_percent" : 0.0,"jserror_top5_uri_percent" : 0.0,"id" : "1","name" : "Uncaught TypeError: Cannot read property 'x' of undefined",//name"unit" : "次",//单位"hostId" : null,"uriId" : null,"jsErrorId" : 117623,//图表调用需要传递的值(参数:js_error_id)"webBrowserId" : null,"webBrowserVersionId" : null,"countryId" : null,"regionId" : null,"cityId" : null,"carrierId" : null,"connectTypeId" : null,"errorCode" : null,"browserMediaId" : null,"wholeUriId" : null,"mediaErrorCode" : null,"urlPattern" : null,"value" : 480.0},...]}/*错误响应*/{"status":-1,"data":"_ty_auth_token is NULL"}/*错误响应*/{"status":-500,"message":"system error."}
baseonId讲解
| baseonId | 说明 | 备注 |
|---|---|---|
| 1 | 完全加载 | |
| 28 | 页面渲染 | |
| 33 | DOM解析 | |
| 34 | 资源加载 | |
| 3 | 页面耗时占比 | |
| 35 | 慢页面占比 | |
| 36 | 吞吐率 |
应用分析URL
/browserapp/selectfilter/web/browsers.json
关键页面URL
/browser/keypage/selectfilter/web/browsers.json
应用分析示例URL
关键页面示例URL(多了browserKeyPageId参数)
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token客户端获取 |
| browserAppId | true | int | browser ID |
| browserKeyPageId | true | int | browserKeyPageId ID(关键页面需要传) |
| baseonId | true | int | baseonId讲解中相对应的值 |
| hideLowerThroughtput | false | int | 隐藏访问量<1%是否选中,选中:1,未选中:0 |
| timeType | false | int | 先默认为1 |
| endTime | false | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
| timePeriod | false | string | 时间间隔 相差多少分钟 |
| orderId | false | int | 排序方式 前面打钩(选中)的情况下是4,未选中情况下是null(0) |
响应数据(应用分析和关键页面是一样的)
/*成功响应*/{"status":200,"data":[ {"pId" : "-2","formatValue" : "1.994",//value"tmTick" : null,"duration_total_caller_percent" : 0.0,"jserror_top5_uri_percent" : 0.0,"id" : "1","name" : "Chrome",//name"unit" : "秒",//单位"hostId" : null,"uriId" : null,"jsErrorId" : null,"webBrowserId" : 6,//二级tree和图表需要传递的值(参数:web_browser_id)"webBrowserVersionId" : null,//图表需要传递的值(参数:web_browser_version_id)"countryId" : null,"regionId" : null,"cityId" : null,"carrierId" : null,"connectTypeId" : null,"errorCode" : null,"browserMediaId" : null,"wholeUriId" : null,"mediaErrorCode" : null,"urlPattern" : null,"value" : 1.994},...]}/*错误响应*/{"status":-1,"data":"_ty_auth_token is NULL"}/*错误响应*/{"status":-500,"message":"system error."}
应用分析URL
/browserapp/selectfilter/web/browserVersions.json
关键页面URL
browser/keypage/selectfilter/web/browserVersion.json
应用分析示例URL
关键页面示例URL(多了browserKeyPageId参数)
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token客户端获取 |
| browserAppId | true | int | browser ID |
| browserKeyPageId | true | int | browserKeyPageId ID(关键页面需要传) |
| baseonId | true | int | baseonId讲解中相对应的值 |
| web_browser_id | true | int | 一级tree中获取 |
| hideLowerThroughtput | false | int | 隐藏访问量<1%是否选中,选中:1,未选中:0 |
| timeType | false | int | 先默认为1 |
| endTime | false | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
| timePeriod | false | string | 时间间隔 相差多少分钟 |
| orderId | false | int | 排序方式 前面打钩(选中)的情况下是4,未选中情况下是null(0) |
| limit | false | int | 取top数,limit=20,就是只取top20的值 |
/*成功响应*/(应用分析和关键页面是一样的){"status":200,"data":[ {"pId" : "10","formatValue" : "0.867",//值"tmTick" : null,"duration_total_caller_percent" : 0.0,"jserror_top5_uri_percent" : 0.0,"id" : "10-1","name" : "9",//name"unit" : "秒",//单位"hostId" : null,"uriId" : null,"jsErrorId" : null,"webBrowserId" : 10,//二级tree和图表需要传递的值(参数:web_browser_id)"webBrowserVersionId" : 80,//图表需要传递的值(参数:web_browser_version_id)"countryId" : null,"regionId" : null,"cityId" : null,"carrierId" : null,"connectTypeId" : null,"errorCode" : null,"browserMediaId" : null,"wholeUriId" : null,"mediaErrorCode" : null,"urlPattern" : null,"value" : 0.867}...]}/*错误响应*/{"status":-1,"data":"_ty_auth_token is NULL"}/*错误响应*/{"status":-500,"message":"system error."}
URL
/browser/keyajax/selectfilter/errors/errors.json
示例URL
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| _ty_auth_token | true | string | token客户端获取 |
| browserAppId | true | int | browser ID |
| browserKeyAjaxId | true | int | browserKeyAjaxId |
| timeType | false | int | 先默认为1 |
| endTime | false | string | 结束时间 格式如:yyyy-MM-dd HH:mm:ss |
| timePeriod | false | string | 时间间隔 相差多少分钟 |
| limit | false | int | 取top数,limit=20,就是只取top20的值 |
响应数据
/*成功响应*/{"status":200,"data":[ {"pId" : "-2","formatValue" : "1463",//value"tmTick" : null,"duration_total_caller_percent" : 0.0,"jserror_top5_uri_percent" : 0.0,"id" : "1","name" : "500", //name"unit" : "次", //单位"hostId" : null,"uriId" : null,"jsErrorId" : null,"webBrowserId" : null,"webBrowserVersionId" : null,"countryId" : null,"regionId" : null,"cityId" : null,"carrierId" : null,"connectTypeId" : null,"errorCode" : 500,"browserMediaId" : null,"wholeUriId" : null,"mediaErrorCode" : null,"urlPattern" : null,"value" : 1463.0},...]}/*错误响应*/{"status":-1,"data":"_ty_auth_token is NULL"}/*错误响应*/{"status":-500,"message":"system error."}