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 top issue list

POST
{{env}}/uniform/openapi/getTopIssueEx{{signature}}
To get top issue list
China Website: https://crashsight.qq.com
download python code example:https://crashsight-docs-1258344700.cos.ap-shanghai.myqcloud.com/global/crashsight_openapi_v1_getTopIssueEx.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
type
string 
required
All types of errors.Three types - crash, ANR, and error.
limit
integer 
required
row limit
topIssueDataType
string 
required
System Exit Keyword can be divided into two cases, with the values of SystemExit and unSystemExit, which represent that the keyword matching system exit keyword, and the keyword matching system exit keyword is not found.
fsn
string 
required
RequestID. The fsn value can be fixed
mergeMultipleVersionsWithInaccurateResult
boolean 
required
When querying multiple versions, setting the mergeMultipleVersionsWithInaccurateResult field to true.The query result for the number of devices and the number of times should be combined by directly.
countryList
string 
required
countries
versionList
array[string]
required
Project version, -1 represents the full version.When querying multiple versions, you must set mergeMultipleVersionsWithInaccurateResult to true.To specify one or more version numbers, support * wildcard.
mergeMultipleDatesWithInaccurateResult
boolean 
required
whether to query multiple days' data
minDate
string 
required
Start Time.When querying data for multiple days, you can specify the start of the date range (inclusive) using the format YYYYMMDD.
maxDate
string 
required
End Time.When querying data for multiple days, you can specify the start of the date range (inclusive) using the format YYYYMMDD.
Example
{
  "appId": "7786d1a114",
  "platformId": 1,
  "type": "crash",
  "limit": 20,
  "topIssueDataType": "unSystemExit",
  "fsn": "c678c193-7a28-47c6-87aa-b79007152b97",
  "mergeMultipleVersionsWithInaccurateResult": false,
  "countryList": "",
  "versionList": [
    "1.0.0",
    "2.0.0",
    "3.0.*"
  ],
  "mergeMultipleDatesWithInaccurateResult": false,
  "minDate": "20230706",
  "maxDate": "20230708"
}

Responses

🟢200成功
application/json
Body
status
integer 
required
response status
data
object 
required
query results
topIssueList
array [object {23}] 
required
top issue list
crashDevices
integer 
required
the number of crashed devices.
accessDevices
integer 
optional
the number of connected devices.
prevDayCrashDevices
integer 
required
The number of connected devices the day before, multi-day data queries are not supported.
prevDayAccessDevices
integer 
required
The number of connected devices the day before, multi-day data queries are not supported.
message
string 
required
Error details
Example
{
  "status": 200,
  "ret": {
    "code": 200,
    "message": "OK",
    "data": {
      "prevDayCrashDevices": 1342,
      "prevDayAccessDevices": 3103,
      "topIssueList": [
        {
          "appId": "a48e55df8b",
          "platformId": 2,
          "version": "-1",
          "date": "20210412",
          "type": "crash",
          "issueId": "A0FD07100BE7F136ABD1E227D44E71ED",
          "firstUploadTime": "2021-03-25 11:02:39",
          "crashUser": 808,
          "crashNum": 1662,
          "accumulateCrashNum": 15588,
          "accumulateCrashUser": 7510,
          "state": 0,
          "processors": "",
          "exceptionName": "SIGSEGV",
          "exceptionMessage": "SEGV_ACCERR",
          "keyStack": "ShadowTrackerExtra physx::PxVehicleConstraintShader::visualiseConstraint(physx::PxConstraintVisualizer&, void const*, physx::PxTransform const&, physx::PxTransform const&, unsigned int)",
          "lastUpdateTime": "2021-03-25 11:02:39",
          "issueVersions": [],
          "preDayCrashUser": 1888,
          "preDayCrashNum": 0,
          "is_system_exit": "false",
          "tags": []
        },
        {
          "appId": "a48e55df8b",
          "platformId": 2,
          "version": "-1",
          "date": "20210412",
          "type": "crash",
          "issueId": "EEAC818D4772F4CE35C79920573B3E78",
          "firstUploadTime": "2021-04-08 13:26:31",
          "crashUser": 137,
          "crashNum": 274,
          "accumulateCrashNum": 2610,
          "accumulateCrashUser": 1292,
          "state": 0,
          "processors": "",
          "exceptionName": "SIGBUS",
          "exceptionMessage": "BUS_ADRALN",
          "keyStack": "ShadowTrackerExtra physx::PxVehicleConstraintShader::visualiseConstraint(physx::PxConstraintVisualizer&, void const*, physx::PxTransform const&, physx::PxTransform const&, unsigned int)",
          "lastUpdateTime": "2021-04-08 13:26:31",
          "issueVersions": [],
          "preDayCrashUser": 354,
          "preDayCrashNum": 400,
          "is_system_exit": "false",
          "bugs": []
        },
        {
          "appId": "a48e55df8b",
          "platformId": 2,
          "version": "-1",
          "date": "20210412",
          "type": "crash",
          "issueId": "55CC50D414C8F105A6190B4AB06CA543",
          "firstUploadTime": "2021-03-25 11:01:38",
          "crashUser": 38,
          "crashNum": 76,
          "accumulateCrashNum": 718,
          "accumulateCrashUser": 338,
          "state": 0,
          "processors": "",
          "exceptionName": "SIGABRT",
          "exceptionMessage": "",
          "keyStack": "ShadowTrackerExtra physx::PxVehicleConstraintShader::visualiseConstraint(physx::PxConstraintVisualizer&, void const*, physx::PxTransform const&, physx::PxTransform const&, unsigned int)",
          "lastUpdateTime": "2021-03-25 11:01:38",
          "issueVersions": [],
          "preDayCrashUser": 84,
          "preDayCrashNum": 100,
          "is_system_exit": "false",
          "tags": [],
          "bugs": []
        }
      ]
    }
  }
}
Previous
Get cumulative trend data
Next
Get hourly trend data
Built with