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

Get crash statistics based on stack keyword

POST
{{env}}/uniform/openapi/getStackCrashStat/platformId/{{platformId}}/{{signature}}
get crash statistics based on stack keyword
download python code example:https://crashsight-docs-1258344700.cos.ap-shanghai.myqcloud.com/global/crashsight_openapi_v1_getStackCrashStat.py

Request

Header Params
Content-Type
string 
required
Example:
application/json
Accept-Encoding
string 
required
Example:
*
Body Params application/json
requestid
string 
required
Request ID
stime
string 
required
Start Time
etime
string 
required
End Time.within 30d.
appId
string 
required
Project ID
params
object 
required
filtering conditions
keyName
string 
required
stack keywords (supports * wildcard)
limit
integer 
required
number of returns
type
string 
required
Default Return Values and fields. " type": "pretty" Returns the JSON format.
Example
{
  "requestid": "4f395abb53e82a1e1f57c7c86feb4cc4",
  "stime": "2023-10-13 00:00:00",
  "etime": "2023-10-16 00:00:00",
  "params": {
    "keyName": "*"
  },
  "type": "pretty",
  "appId": "d98b9f7eec"
}

Responses

🟢200成功
application/json
Body
requestid
string 
required
Request ID
code
integer 
required
Status Code
errmsg
null 
required
Error details
data
object 
required
query result
columns
null 
required
fields
values
null 
required
values
results
array [object {3}] 
required
details
cost
integer 
required
query duration
Example
{
  "requestid": "4f395abb53e82a1e1f57c7c86feb4cc4",
  "code": 200,
  "errmsg": "null",
  "data": {
    "columns": null,
    "values": null,
    "results": [
      {
        "keyName": "*",
        "crashNums": 4799,
        "crashUsers": 4799
      }
    ]
  },
  "cost": 0
}
Previous
Get crash user list within a specific time period
Next
Get crash Stat based on device ID
Built with