Version Distribution
1. Number of Launches-Version Trend
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | versionTrendData |
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:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | versionTrendData |
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:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Body:
{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
}
],
"render": "list"
}