跳到主要内容

应用概览

单应用用户体验评分

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/overview/performance-grading

Headers:

KeyValue
Content-Typeapplication/json

Body:

{
"mobileAppId":{{mobileAppId}},
"timePeriod": {{timePeriod}},
"endTime": {{endTime}}
}

Example Request: 单应用用户体验评分

Headers:

KeyValue
Content-Typeapplication/json

Body:

{
"mobileAppId":{{mobileAppId}},
"timePeriod": {{timePeriod}},
"endTime": {{endTime}}
}

Example Response: 单应用用户体验评分

{
"app": {
"id": 7461,
"name": "app_test",
"mobileAppId": 0,
"agreementId": 41258,
"status": 1,
"responseTime": 1558,
"requestErrorRate": 13.32,
"launchStartupTime": 1517,
"viewInteractiveTime": 548,
"viewAppearTime": 548,
"actionDurationTime": 545,
"anrRate": 0.13,
"crashRate": 0.55,
"deviceCount": 766,
"anrDeviceCount": 1,
"launchCount": 909,
"crashCount": 5,
"anrCount": 1,
"responseTimeScore": 50,
"requestErrScore": 0,
"launchScore": 83,
"interactiveScore": 39,
"appearScore": 100,
"crashScore": 50,
"anrScore": 100,
"actionScore": 73,
"requestCount": 31033,
"throughput": 172.406,
"score": 59,
"dimension": 7461,
"selfAgreement": true
},
"industry": {
"id": 0,
"name": "行业均值",
"mobileAppId": 0,
"agreementId": 0,
"status": 0,
"responseTime": 1500,
"requestErrorRate": 4,
"launchStartupTime": 2000,
"viewInteractiveTime": 300,
"viewAppearTime": 2000,
"actionDurationTime": 600,
"anrRate": 4,
"crashRate": 0.5,
"deviceCount": 0,
"anrDeviceCount": 0,
"launchCount": 0,
"crashCount": 0,
"anrCount": 0,
"responseTimeScore": 52,
"requestErrScore": 67,
"launchScore": 67,
"interactiveScore": 77,
"appearScore": 67,
"crashScore": 56,
"anrScore": 67,
"actionScore": 67,
"requestCount": 0,
"throughput": 0,
"score": 63,
"selfAgreement": true
}
}

Status Code: 200

应用性能列表

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/overview/performance-list

Headers:

KeyValue
Content-Typeapplication/json

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}}
}

Example Request: 应用性能列表

Headers:

KeyValue
Content-Typeapplication/json

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}}
}

Example Response: 应用性能列表

{
"isShowScore": false,
"data": [
{
"id": 7461, // 应用ID
"name": "app_test", // 应用名称
"mobileAppId": 0,
"agreementId": 41258,
"status": 1,
"responseTime": 1558, //请求响应时间
"requestErrorRate": 13.32, //请求错误率
"launchStartupTime": 1517,// 启动耗时
"viewInteractiveTime": 548, // 首屏时间
"viewAppearTime": 548, //可交互时间
"actionDurationTime": 545, // 操作耗时
"anrRate": 0.13, //卡顿率
"crashRate": 0.55, // 崩溃率
"deviceCount": 766, // 活跃设备数
"anrDeviceCount": 1,// 卡顿设备数
"launchCount": 909, //启动次数
"crashCount": 5,// 崩溃次数
"anrCount": 1, //卡顿次数
"responseTimeScore": 50,
"requestErrScore": 0,
"launchScore": 83,
"interactiveScore": 39,
"appearScore": 100,
"crashScore": 50,
"anrScore": 100,
"actionScore": 73,
"requestCount": 31033, //网络请求次数
"throughput": 172.406,
"score": 59,
"dimension": 7461,
"selfAgreement": true
}
]
}

Status Code: 200