Get trend data for the last N days
POST
{{env}}/uniform/openapi/getTrendExGet trend data for the last N days
China Website: https://crashsight.qq.com
Overseas website: https://crashsight.wetest.net
download python code example: https://crashsight-docs-1258344700.cos.ap-shanghai.myqcloud.com/global/crashsight_openapi_v1_getTrendEx.py
Request
Project ID
Platform ID Android:1,IOS:2,PC:10
Start Time YYMMDD
End Time YYMMDD
All types of errors.Three types - crash, ANR, and error.
RequestID. The fsn value can be fixed
Data Type :trendData
Emulator identifier. 0 : Full device 1: Real device 2: Emulator
Version list. Version support wildcard *
True: need country-level statistics, false: do not need it
If you set the statistics to be country-level, please provide a list of country names to be queried. When you set the needCountryDimension to true but countryList is an empty array, it indicates that you want to query all countries.
Whether multiple version results should be merged into a single result. The merging method is to directly add the device count and times of each individual version.
{
"appId": "4bd2da9ae1",
"platformId": 1,
"startDate": "20230605",
"endDate": "20230704",
"type": "crash",
"fsn": "",
"dataType": "trendData",
"vm": 0,
"versionList": "[\"8.4.1.1.804010199\",\"3.82.1.4\"]",
"needCountryDimension": false,
"countryList": "[]",
"mergeMultipleVersionsWithInaccurateResult": true
}
Responses
Project ID
Platform ID
Project Version
Time
Country
Crash count
Crashed Devices
Number of connections
Active Devices
{
"appId": "4bd2da9ae1",
"platformId": 1,
"version": "MERGED",
"date": "20230605",
"country": "-1",
"crashNum": 0,
"crashUser": 0,
"reportNumAllData": 0,
"reportDeviceAllData": 0,
"accessNum": 0,
"accessUser": 0
}