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

POST
{{env}}/uniform/openapi/getTopIssueHourly{{signature}}
Hourly TOP issue list
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_getTopIssueHourly.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
version
string 
required
Project version, -1 represents all versions
startHour
string 
required
Start time. Format is YYMMDDHH
type
string 
required
Support Three types - crash, anr, error
limit
integer 
required
Row limit, how many rows to get
topIssueDataType
string 
required
System exit keywords are divided into two cases. SystemExit represents matching system exit keywords, and unSystemExit represents not matching system exit keywords..
needCountryDimension
boolean 
required
True: Get the TOP issues in the specified country; False: Get the TOP issues without distinguishing regions.
countryList
array[string]
optional
It only takes effect when needCountryDimension is true, specifying the list of countries to be queried.
fsn
string 
optional
RequestID. The fsn value can be fixed
Example
{
  "appId": "d98b9f7eec",
  "platformId": 1,
  "version": "-1",
  "startHour": "2022101404",
  "type": "crash",
  "limit": 5,
  "topIssueDataType": "",
  "needCountryDimension": true,
  "countryList": [
    "中国"
  ],
  "fsn": ""
}

Responses

🟢200成功
application/json
Body
versionCrashUser
integer 
required
Affected device count
preDayVersionCrashUser
integer 
required
Affected device count of the previous day
topIssueList
array [object {22}] 
required
appId
string 
required
Project ID
platformId
integer 
required
Platform ID
version
string 
required
Project version
issueId
string 
required
Issue ID
firstUploadTime
string 
required
First report time
firstUploadTimestamp
integer 
required
Fist report timestamp
crashUser
integer 
required
Crashed devices
crashNum
integer 
required
Crash count
accumulateCrashNum
integer 
required
Total crash count
accumulateCrashUser
integer 
required
Total crashed devices
state
integer 
required
Processing status
processors
string 
required
Handler
exceptionName
string 
required
Exception type
exceptionMessage
string 
required
Exception information
keyStack
string 
required
Stack information
lastUpdateTime
string 
required
Latest update time
lastUpdateTimestamp
integer 
required
issueVersions
array [object {7}] 
required
Issue version collection
preDayCrashUser
integer 
required
Total affected devices of the previous day
preDayCrashNum
integer 
required
Total affected Times of the previous day
prevHourCrashDevices
integer 
required
tags
array [object {4}] 
required
Tag collection
crashDevices
integer 
required
Crashed Devices
prevHourCrashDevices
integer 
required
prevDaySameHourCrashDevices
integer 
required
accessDevices
integer 
required
Active Devices
prevHourAccessDevices
integer 
required
prevDaySameHourAccessDevices
integer 
required
Example
{
  "versionCrashUser": 200,
  "preDayVersionCrashUser": 200,
  "topIssueList": [
    {
      "appId": "d98b9f7eec",
      "platformId": 1,
      "version": "-1",
      "issueId": "B0B0C7EAFEF684F2ACCA492E2F194760",
      "firstUploadTime": "2021-01-13 14:22:00 671",
      "firstUploadTimestamp": 0,
      "crashUser": 45,
      "crashNum": 45,
      "accumulateCrashNum": 511153,
      "accumulateCrashUser": 510012,
      "state": 2,
      "processors": "100006203",
      "exceptionName": "java.lang.RuntimeException",
      "exceptionMessage": "yyY9Wfe9uXCw6lgPTmpZ2SECbHoQXT",
      "keyStack": "",
      "lastUpdateTime": "2022-10-14 11:54:02 132",
      "lastUpdateTimestamp": 0,
      "issueVersions": [
        {
          "version": "1.0.3",
          "firstUploadTimestamp": 0,
          "lastUploadTimestamp": 0,
          "count": 0,
          "deviceCount": 0,
          "systemExitCount": 0,
          "systemExitDeviceCount": 0
        }
      ],
      "preDayCrashUser": 36,
      "preDayCrashNum": 36,
      "prevHourCrashDevices": 27,
      "tags": []
    },
    {
      "appId": "d98b9f7eec",
      "platformId": 1,
      "version": "-1",
      "issueId": "97CF6DE03A2BCF2A517A1F3AC2A4CF77",
      "firstUploadTime": "2021-01-13 14:23:33 958",
      "firstUploadTimestamp": 0,
      "crashUser": 39,
      "crashNum": 39,
      "accumulateCrashNum": 512885,
      "accumulateCrashUser": 511680,
      "state": 0,
      "processors": "",
      "exceptionName": "java.lang.RuntimeException",
      "exceptionMessage": "27jkgiefwsuqrstq1bd9a784vwstqr",
      "keyStack": "",
      "lastUpdateTime": "2022-10-14 11:51:32 587",
      "lastUpdateTimestamp": 0,
      "issueVersions": [
        {
          "version": "1.0.3",
          "firstUploadTimestamp": 0,
          "lastUploadTimestamp": 0,
          "count": 0,
          "deviceCount": 0,
          "systemExitCount": 0,
          "systemExitDeviceCount": 0
        }
      ],
      "preDayCrashUser": 36,
      "preDayCrashNum": 36,
      "prevHourCrashDevices": 36,
      "tags": []
    },
    {
      "appId": "d98b9f7eec",
      "platformId": 1,
      "version": "-1",
      "issueId": "1CEB50F01DA6EF60A3E7BF62F1A8D4EB",
      "firstUploadTime": "2021-01-13 14:22:13 862",
      "firstUploadTimestamp": 0,
      "crashUser": 35,
      "crashNum": 35,
      "accumulateCrashNum": 512108,
      "accumulateCrashUser": 510964,
      "state": 1,
      "processors": "65d156f612ff1eae87ed8baf4f13a620;5e6ae10d50444e2b0a9e697358787297;f19fae6ab0ef7b818fa38480eee15113",
      "exceptionName": "java.lang.RuntimeException",
      "exceptionMessage": "DmNcPX1JULMgruOClJAzOTWy9zjm01",
      "keyStack": "",
      "lastUpdateTime": "2022-10-14 11:54:37 794",
      "lastUpdateTimestamp": 0,
      "issueVersions": [
        {
          "version": "1.0.3",
          "firstUploadTimestamp": 0,
          "lastUploadTimestamp": 0,
          "count": 0,
          "deviceCount": 0,
          "systemExitCount": 0,
          "systemExitDeviceCount": 0
        }
      ],
      "preDayCrashUser": 28,
      "preDayCrashNum": 28,
      "prevHourCrashDevices": 32,
      "tags": [
        {
          "tagId": 2855,
          "tagType": 0,
          "tagCount": 0,
          "tagName": "test"
        }
      ]
    },
    {
      "appId": "d98b9f7eec",
      "platformId": 1,
      "version": "-1",
      "issueId": "7A5DD858AC3CF6CBD437DE7F3B6703F4",
      "firstUploadTime": "2021-01-13 14:22:23 880",
      "firstUploadTimestamp": 0,
      "crashUser": 31,
      "crashNum": 31,
      "accumulateCrashNum": 512224,
      "accumulateCrashUser": 511079,
      "state": 0,
      "processors": "",
      "exceptionName": "java.lang.RuntimeException",
      "exceptionMessage": "sNSXTvFGp6ZGrorljP6WPxsGtKc5px",
      "keyStack": "",
      "lastUpdateTime": "2022-10-14 11:54:55 679",
      "lastUpdateTimestamp": 0,
      "issueVersions": [
        {
          "version": "1.0.3",
          "firstUploadTimestamp": 0,
          "lastUploadTimestamp": 0,
          "count": 0,
          "deviceCount": 0,
          "systemExitCount": 0,
          "systemExitDeviceCount": 0
        }
      ],
      "preDayCrashUser": 30,
      "preDayCrashNum": 30,
      "prevHourCrashDevices": 42,
      "tags": []
    },
    {
      "appId": "d98b9f7eec",
      "platformId": 1,
      "version": "-1",
      "issueId": "34198E93FED993FFD2A6D0D91DCAFDAE",
      "firstUploadTime": "2021-01-13 14:21:57 297",
      "firstUploadTimestamp": 0,
      "crashUser": 25,
      "crashNum": 25,
      "accumulateCrashNum": 512851,
      "accumulateCrashUser": 511653,
      "state": 0,
      "processors": "65d156f612ff1eae87ed8baf4f13a620",
      "exceptionName": "java.lang.RuntimeException",
      "exceptionMessage": "SRdSbQ3h0XOjLF90pGHvwCu5vZBLwl",
      "keyStack": "",
      "lastUpdateTime": "2022-10-14 11:54:19 854",
      "lastUpdateTimestamp": 0,
      "issueVersions": [
        {
          "version": "1.0.3",
          "firstUploadTimestamp": 0,
          "lastUploadTimestamp": 0,
          "count": 0,
          "deviceCount": 0,
          "systemExitCount": 0,
          "systemExitDeviceCount": 0
        }
      ],
      "preDayCrashUser": 38,
      "preDayCrashNum": 38,
      "prevHourCrashDevices": 29,
      "tags": []
    }
  ],
  "crashDevices": 200,
  "prevHourCrashDevices": 200,
  "prevDaySameHourCrashDevices": 200,
  "accessDevices": 1000,
  "prevHourAccessDevices": 1000,
  "prevDaySameHourAccessDevices": 1000
}
Previous
Introduction
Next
Get trend data for the last N days
Built with