Get hourly trend data
POST
{{env}}/uniform/openapi/getRealTimeHourlyStatEx{{signature}}Get hourly trend data
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_getRealTimeHourlyStatEx.py
Request
Project ID
Platform ID Android:1,IOS:2,PC:10
Project Version list. Version support wildcard *. -1: All versions
Start Time YYMMDDHH
End Time YYMMDDHH
All types of errors.Three types - crash, ANR, and error.
RequestID. The fsn value can be fixed
realTimeTrendData
Emulator identifier. 0 : Full device 1: Real device 2: Emulator
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": "f4f1ae20c0",
"platformId": 1,
"version": "",
"versionList": "[\"8.4.1.1.804010199\",\"3.82.1.4\"]",
"startHour": "2023070500",
"endHour": "2023070523",
"type": "",
"fsn": "",
"dataType": "realTimeTrendData",
"vm": 0,
"needCountryDimension": false,
"countryList": "[]",
"mergeMultipleVersionsWithInaccurateResult": true
}
Responses
Project ID
Platform ID
Project Version
Date
The Number of crashes
The Number of crashed devices
Private field. Original reported statistics.
Private field. Original reported statistics.
The number of network accesses.
The number of connected devices.
Country
{
"status": 200,
"ret": {
"code": 200,
"message": "OK",
"errorCode": "",
"data": [
{
"appId": "f4f1ae20c0",
"platformId": 1,
"version": "MERGED",
"date": "2023070500",
"crashNum": 1,
"crashUser": 1,
"reportNumAllData": 0,
"reportDeviceAllData": 0,
"accessNum": 53,
"accessUser": 19,
"country": "-1"
}
]
}
}