跳到主要内容

版本分布

1. 启动次数-版本趋势

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/adhoc/query

Headers:

KeyValue
Acceptapplication/json, text/plain, /
Content-Typeapplication/json

Query params:

KeyValue
labelversionTrendData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"launchCount"
],
"dimensions": [
"timeStr",
"mobileAppVersionId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"render": "list",
"top": {
"dimensions": [
"mobileAppVersionId"
],
"metric": "launchCount",
"direction": "desc",
"limit": 5
}
}

2. 活跃设备-版本趋势

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/adhoc/query

Headers:

KeyValue
Acceptapplication/json, text/plain, /
Content-Typeapplication/json

Query params:

KeyValue
labelversionTrendData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"deviceCount"
],
"dimensions": [
"timeStr",
"mobileAppVersionId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"render": "list",
"top": {
"dimensions": [
"mobileAppVersionId"
],
"metric": "deviceCount",
"direction": "desc",
"limit": 5
}
}

3. 版本性能列表

Endpoint:

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

Headers:

KeyValue
Acceptapplication/json, text/plain, /
Content-Typeapplication/json

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
}
],
"render": "list"
}