Skip to main content

Version Distribution

1. Number of Launches-Version Trend

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. Active Devices-Version Trend

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. Version performance list

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"
}