You need to enable JavaScript to run this app.
导航

PCCrashStackInfo

最近更新时间2024.05.07 20:48:37

首次发布时间2022.11.15 20:38:47

调用PCCrashStackInfo接口查看事件堆栈详情。

请求说明

  • 请求方式:POST
  • 请求地址:/?Action=PCCrashStackInfo&Version=2022-10-28
ServiceName : apmplus_openapi
Region : cn-beijing
X-App-Ids : xxx
Content-Type : application/json

请求参数

Query

参数类型是否必选示例值描述
ActionStringPCCrashStackInfo接口名称。当前 API 的名称为 PCCrashStackInfo
VersionString2022-10-28接口版本。当前 API 的版本为 2022-10-28

Body

参数类型是否必选示例值描述
app_idInteger12345App ID。
issue_idStringff56eea75c0411ed95d崩溃ID。
event_idStringbf56eea75c0411ed95d崩溃事件ID。
regionStringcn区域,默认cn。
is_retryBooleanfalse是否不使用缓存,重新解析
crash_typeString""崩溃类型,pc_jank或者其他。

返回参数

参数类型示例值描述
dataObject of StackInfoResponseData-返回内容。
errmsgString""错误信息,成功为空。
errnoInteger200错误码,成功为200。

StackInfoResponseData

参数类型示例值描述
stack_infoStringOperating system: Windows NT\n 10.0.10586 ...崩溃堆栈详情。
last_update_timeString1667550519缓存时间。

请求示例

POST /?Action=PCCrashStackInfo&Version=2022-10-28
{
    "app_id": 12345,
    "issue_id": "ff56eea75c0411ed95d",
    "event_id": "bf56eea75c0411ed95d",
    "region": "cn",
    "is_retry": false,
    "crash_type": "descended"
}

返回示例

{
    "errno": 200,
    "data": {
        "last_update_time": "1667550519",
        "stack_info": "Operating system: Windows NT\\ 10.0.10586 ..."
    },
    "errmsg": ""
}