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 hourly trend data
      • 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
        GET
      • Get the trace data, trace logs, additional information, and custom key-value pairs
        GET
      • Get crash details
        GET
      • Get Issue list
        POST
      • Get Advanced Trends(Private test)
        POST
    • Others
      • Get the list of versions, bundle, and handlers
      • Get the crash details based on OpenID
  • Post upload symbol
    POST
  1. Crash/Exception Analysis

Get crash details

GET
{{env}}/uniform/openapi/crashDoc{{signature}}
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_crashDoc.py

Request

Query Params

Header Params

Responses

🟢200成功
application/json
Body

Example
{
    "statusCode": 0,
    "message": null,
    "reqSendTimestamp": 0,
    "rspReceivedTimestamp": 0,
    "rspSendTimestamp": 0,
    "numFound": 0,
    "crashMap": {
        "id": "D8:CA:9E:C4:4F:55:56:E8:2A:01:8B:0B:8A:4C:01:F0",
        "issueId": "4273DBD3409C2783706F3F15E140F25A",
        "productVersion": "3.2.5",
        "model": "魅族 M8",
        "userId": "Sumxc4c",
        "expMessage": "sNSXTvFGp6ZGrorljP6WPxsGtKc5px",
        "type": "100",
        "processName": "com.tencent.crashsight.demo.crashsightqq",
        "retraceStatus": -3,
        "uploadTime": "2021-04-09T12:21:25.663+0000",
        "uploadTimestamp": 1617970885663,
        "crashTime": "2020-05-07T10:36:48.991+0000",
        "crashTimestamp": 1588847808991,
        "mergeVersion": "11",
        "messageVersion": "2",
        "isSystemStack": 1,
        "rqdUuid": "b1099c1d-41d8-4b44-89e4-ec67bb3dbdf4",
        "retraceResult": "1_0_2_0_0_0_0_9_0",
        "appInBack": "false",
        "cpuType": "x86",
        "subVersionIssueId": "5D7A43A93A533F0A06D4F2C5A8F2CEEF",
        "crashId": "D8CA9EC44F5556E82A018B0B8A4C01F0",
        "bundleId": "com.tencent.crashsight.demo.crashsightqq",
        "sdkVersion": "3.1.7(1.6.0)-3.7.1",
        "osVer": "Android 4.4.2,level 16",
        "expAddr": "com.tencent.crashsight.demo.MainActivity$11$2.run(MainActivity.java:529)",
        "threadName": "Thread-221(221)",
        "memSize": "1587986432",
        "diskSize": "33999818752",
        "imei": "null",
        "imsi": "null",
        "cpuName": "fail",
        "brand": "samsung",
        "freeMem": "1168867328",
        "freeStorage": "31347867648",
        "freeSdCard": "31347867648",
        "mac": "null",
        "country": "CN",
        "totalSD": "33999818752",
        "channelId": "testchannel",
        "startTime": "1588837884696",
        "startTimestamp": 1588837884696,
        "callStack": "irgMyesZayrR",
        "retraceCrashDetail": "irgMyesZayrR",
        "buildNumber": "samsung",
        "rom": "fail%2Ffail",
        "retraceTimestamp": 0,
        "apn": "WIFI",
        "appInAppstore": false,
        "expName": "java.lang.RuntimeException",
        "deviceId": "hx6DLV78mm9ChnvC",
        "crashCount": 0,
        "isRooted": "true",
        "isVirtualMachine": 320,
        "modelOriginalName": "魅族 M8"
    },
    "detailMap": {
        "attatchCount": 0,
        "quaInner": null,
        "appInfo": null,
        "stackName": "FileObserver(202);main(1);FinalizerWatchdogDaemon(191);crashsightThread-1(200);OkHttp ConnectionPool(219);Signal Catcher(187);AsyncTask #3(196);Binder_2(193);crashsightThread-2(201);JDWP(188);AsyncTask #2(195);FinalizerDaemon(190);ReferenceQueueDaemon(189);crashsightThread-3(203);java.lang.ProcessManager(206);Thread-220(220);Binder_3(207);Binder_1(192);AsyncTask #1(194);GC(186);",
        "excepitonAddress": null,
        "retraceCrashDetail": "irgMyesZayrR",
        "freeMem": 0,
        "appBaseAddr": null,
        "battery": 0,
        "now": null,
        "archVersion": null,
        "attachName": "valueMapOthers.txt;log.txt;",
        "tel": null,
        "id": "D8:CA:9E:C4:4F:55:56:E8:2A:01:8B:0B:8A:4C:01:F0",
        "fileList": [
            {
                "fileName": "valueMapOthers.txt",
                "codeType": 0,
                "fileType": 3,
                "fileContent": "A23:3.2.5;A24:Android 4.4.2,level 16;A25:hx6DLV78mm9ChnvC;F09:1;C03_testkey:testvalue;C04_APP_ID:a81f9c7e38;"
            },
            {
                "fileName": "log.txt",
                "codeType": 0,
                "fileType": 1,
                "fileContent": "Report: stack frame :2, has cause false\n05-07 17:20:13.626  4883  5108 I CrashReport: try to upload right now\n05-07 17:20:13.626  4883  5108 D CrashReport: Uploading frequency will not be checked if SDK is in debug mode.\n05-07 17:20:13.626  4883  5108 D CrashReport: java.lang.RuntimeException rid:af4470df-c99f-4553-8c64-7c4cc44ecc44 sess:1264696e-5c31-4370-a7ac-f80e08352557 ls:5328s isR:false isF:true isM:false isN:false mc:0 ,null ,isUp:false ,vm:33"
            },
            {
                "fileName": "main(1)",
                "codeType": 0,
                "fileType": 2,
                "fileContent": "android.os.MessageQueue.nativePollOnce(Native Method)\nandroid.os.MessageQueue.next(MessageQueue.java:138)\nandroid.os.Looper.loop(Looper.java:123)\nandroid.app.ActivityThread.main(ActivityThread.java:5019)\njava.lang.reflect.Method.invokeNative(Native Method)\njava.lang.reflect.Method.invoke(Method.java:515)\ncom.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)\ncom.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)\ndalvik.system.NativeStart.main(Native Method)\n"
            },
            {
                "fileName": "GC(186)",
                "codeType": 0,
                "fileType": 2,
                "fileContent": "dalvik.system.NativeStart.run(Native Method)\n"
            },
            {
                "fileName": "Signal Catcher(187)",
                "codeType": 0,
                "fileType": 2,
                "fileContent": "dalvik.system.NativeStart.run(Native Method)\n"
            },
            {
                "fileName": "JDWP(188)",
                "codeType": 0,
                "fileType": 2,
                "fileContent": "dalvik.system.NativeStart.run(Native Method)\n"
            },
            {
                "fileName": "ReferenceQueueDaemon(189)",
                "codeType": 0,
                "fileType": 2,
                "fileContent": "java.lang.Object.wait(Native Method)\njava.lang.Object.wait(Object.java:364)\njava.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:130)\njava.lang.Thread.run(Thread.java:841)\n"
            },
            {
                "fileName": "Thread-220(220)",
                "codeType": 0,
                "fileType": 2,
                "fileContent": "com.tencent.crashsight.demo.MainActivity$11$2.run(MainActivity.java:529)\njava.lang.Thread.run(Thread.java:841)\n"
            },
            {
                "fileName": "testkey",
                "codeType": 0,
                "fileType": 6,
                "fileContent": "testvalue"
            },
            {
                "fileName": "APP_ID",
                "codeType": 0,
                "fileType": 7,
                "fileContent": "a81f9c7e38"
            }
        ],
        "email": null,
        "srcIp": "203.205.141.39",
        "uploadTimestamp": 1617970885663,
        "productIdentity": null,
        "freeSdCard": 0,
        "serverKey": "APP_ID;",
        "isGZIP": 0,
        "cpu": 0,
        "uploadTime": "2021-04-09T12:21:25.663+0000",
        "userKey": "testkey;",
        "romName": "fail%2Ffail",
        "threadName": null,
        "contactAll": "D8CA9EC44F5556E82A018B0B8A4C01F0",
        "sdkId": null,
        "callStack": "irgMyesZayrR",
        "fileDir": null,
        "sdkVersion": "3.2.5",
        "comment": null,
        "freeStorage": 0
    },
    "launchTime": 9924
}
Modified at 2023-09-13 07:44:54
Previous
Get the trace data, trace logs, additional information, and custom key-value pairs
Next
Get Issue list
Built with