Crashsight OpenAPI
  1. Overview Statistics
Crashsight OpenAPI
  • API Reference
    • Introduction
    • Overview Statistics
      • Get hourly top issue list
        POST
      • Get trend data for the last N days
        POST
      • Get overview of data analysis for a single day, including crash, ANR and error
        GET
      • Get cumulative trend data
        POST
      • Get top issue list
        POST
      • Get hourly trend data
        POST
    • Crash/Exception Analysis
      • To set issue-level tags.
      • Get device list based on stack keyword
      • Get crash user list within a specific time period
      • Get crash statistics based on stack keyword
      • Get crash Stat based on device ID
      • Get crashHash list based on issue ID
      • Get OpenId base on device ID
      • Get notes based on issue ID
      • Get issue details
      • Get the most recent crash hash based on issue ID
      • Get the list of crash hashes based on an issue ID
      • Get the trace data, trace logs, additional information, and custom key-value pairs
      • Get crash details
      • Get Issue list
    • Others
      • Get the list of versions, bundle, and handlers
      • Get the crash details based on OpenID
  1. Overview Statistics

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

Header Params
Content-Type
string 
required
Example:
application/json
Accept-Encoding
string 
required
Example:
*
Body Params application/json
appId
string 
required
Project ID
platformId
integer 
required
Platform ID Android:1,IOS:2,PC:10
versionList
string 
required
Project Version list. Version support wildcard *. -1: All versions
startHour
string 
required
Start Time YYMMDDHH
endHour
string 
required
End Time YYMMDDHH
type
string 
required
All types of errors.Three types - crash, ANR, and error.
fsn
string 
required
RequestID. The fsn value can be fixed
dataType
string 
required
realTimeTrendData
vm
integer 
required
Emulator identifier. 0 : Full device 1: Real device 2: Emulator
countryList
string 
required
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.
Example
{
  "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

🟢200成功
application/json
Body
appId
string 
required
Project ID
platformId
integer 
required
Platform ID
version
string 
required
Project Version
date
string 
required
Date
crashNum
integer 
required
The Number of crashes
crashUser
integer 
required
The Number of crashed devices
reportNumAllData
integer 
required
Private field. Original reported statistics.
reportDeviceAllData
integer 
required
Private field. Original reported statistics.
accessNum
integer 
required
The number of network accesses.
accessUser
integer 
required
The number of connected devices.
country
string 
required
Country
Example
{
  "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"
      }
    ]
  }
}
Previous
Get top issue list
Next
To set issue-level tags.
Built with