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

GetAppMemoryEventDetail

最近更新时间2024.04.25 17:57:49

首次发布时间2024.04.25 17:57:49

调用GetAppMemoryEventDetail获取单个内存事件的详情信息。

请求说明

  • 请求方式:POST
  • 请求地址:?Action=GetAppMemoryEventDetail&Version=2024-04-09

ServiceName : apmplus_openapi
Region : cn-beijing
X-App-Ids : xxx
Content-Type : application/json

请求参数

Query

参数

类型

是否必选

示例值

描述

Action

String

GetAppMemoryEventDetail

接口名称。当前 API 的名称为 GetAppMemoryEventDetail

Version

String

2024-04-09

接口版本。当前 API 的版本为 2024-04-09

Body

参数

类型

是否必选

示例值

描述

raw_log_key

String

tos_key_example

原始日志的存储Key。

返回参数

参数

类型

示例值

描述

data

JSON Map

-

返回内容。

error_msg

String

-

错误信息。

error_no

Integer

0

错误码。

Data

参数

类型

示例值

描述

key

String

event_id

上报数据中的原始数据key。

value

String

2591****0837

上报数据中的原始数据value。

请求示例

POST ?Action=GetAppMemoryEventDetail&Version=2024-04-09
{
    "raw_log_key": "tos_key_example"
}

返回示例

{
    "error_msg": "",
    "error_no": 0,
    "data": {
        "event_id": "2591****0837",
        "is_main_process": true,
        "issue_type": 32,
        "log_type": "battery_trace",
        "network_type": 4,
        "process_name": "com.ss.android.article.news",
        "scene": "com.ss.android.detail.feature.detail2.view.NewVideoDetailActivity",
        "sid": 1713867984852,
        "single_hold_time": 4532,
        "timestamp": 1713873673056
    }
}