Skip to main content

User Statistics

1. TOP operating system

Endpoint:

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

Headers:

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

Query params:

KeyValue
labeltopOsData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"newCount"
],
"dimensions": [
"osId",
"osVersionId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "osVersionId",
"value": [
0
],
"operator": "!="
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"orderByExprs": "newCount desc",
"render": "list",
"limit": 10
}

2. TOP channel

Endpoint:

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

Headers:

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

Query params:

KeyValue
labeltopChannelData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"newCount"
],
"dimensions": [
"channelId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "channelId",
"value": [
0
],
"operator": "!="
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"orderByExprs": "newCount desc",
"render": "list",
"limit": 10
}

3. TOP version

Endpoint:

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

Headers:

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

Query params:

KeyValue
labeltopMobileAppVersionData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"newCount"
],
"dimensions": [
"mobileAppVersionId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "mobileAppVersionId",
"value": [
0
],
"operator": "!="
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"orderByExprs": "newCount desc",
"render": "list",
"limit": 10
}

4. TOP device

Endpoint:

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

Headers:

KeyValue
Acceptapplication/json, text/plain, /

Query params:

KeyValue
labeltopManufacturerData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"newCount"
],
"dimensions": [
"manufacturerModelId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "manufacturerModelId",
"value": [
0
],
"operator": "!="
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"orderByExprs": "newCount desc",
"render": "list",
"limit": 10
}

5. TOP manufacturer

Endpoint:

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

Headers:

KeyValue
Acceptapplication/json, text/plain, /

Query params:

KeyValue
labeltopManufacturerData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"newCount"
],
"dimensions": [
"manufacturerId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "manufacturerModelId",
"value": [
0
],
"operator": "!="
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"orderByExprs": "newCount desc",
"render": "list",
"limit": 10
}

6. Use duration trend

Endpoint:

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

Headers:

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

Query params:

KeyValue
labeluserTimeData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"useTimeHistogram"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "sampleType",
"value": [
"active"
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
},
{
"name": "moduleType",
"value": [
2
],
"operator": "="
}
],
"render": "list"
}

7. Trend of the number of starts

Endpoint:

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

Headers:

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

Query params:

KeyValue
labeluserTrendData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"launchCount"
],
"dimensions": [
"timeStr"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"render": "list"
}

8. Trend of new users

Endpoint:

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

Headers:

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

Query params:

KeyValue
labeluserTrendData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"newCount"
],
"dimensions": [
"timeStr"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"render": "list"
}

9. Daily Active Devices Trend-30 Day

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/userstat/dayLive

Headers:

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

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"deviceCount"
],
"dimensions": [
"timeStr",
"dataType"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
1,
2
],
"operator": "IN"
}
],
"render": "list"
}

10. Monthly Active Devices Trend-1 Year

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/userstat/monthLive

Headers:

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

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"deviceCount"
],
"dimensions": [
"timeStr",
"dataType"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
1,
2
],
"operator": "IN"
}
],
"render": "list"
}

11. Active Devices Trend

Endpoint:

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

Headers:

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

Query params:

KeyValue
labeluserTrendData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"deviceCount"
],
"dimensions": [
"timeStr"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"render": "list"
}

12. User Statistics-Information Card

Endpoint:

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

Headers:

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

Query params:

KeyValue
labelcardData

Body:

{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"newCount",
"deviceCount",
"launchCount",
"useTime"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
},
{
"name": "sessionDurationTime",
"value": [
0
],
"operator": ">="
}
],
"render": "list",
"limit": -1
}