最近更新时间:2024.04.25 17:57:49
首次发布时间:2024.04.25 17:57:49
调用GetAppMemoryEventList获取内存事件列表。
ServiceName : apmplus_openapi Region : cn-beijing X-App-Ids : xxx Content-Type : application/json
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 |
| 接口名称。当前 API 的名称为 |
Version | String | 是 |
| 接口版本。当前 API 的版本为 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
os | String | 否 |
| 操作系统。
|
memory_type | String | 否 |
| 内存问题类型。
|
issue_id | String | 否 |
| issue ID。 |
start_time | Integer | 否 |
| 查询开始时间(Unix时间戳)。 |
end_time | Integer | 否 |
| 查询结束时间(Unix时间戳)。 |
filters | Object of Condition | 否 |
| 筛选条件,可以指定多个键值对来筛选数据。 |
event_id | String | 否 |
| 事件ID。 |
page_no | Integer | 否 |
| 查看的页码。 |
page_size | Integer | 否 |
| 单页大小。 |
token | String | 否 |
| 查询使用关键字或令牌,用于查询特定信息。 |
is_new | Integer | 否 |
| 是否新增issue。
|
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
op | String | 否 |
| 操作符。
|
type | String | 否 |
| 筛选条件类型。
|
value | String | 否 |
| 筛选值。 |
values | Array of String | 否 |
| 筛选值,支持多个。 |
map_key | String | 否 |
| map类型key,当type为map时必填。 |
dimension | String | 否 |
| 条件的名称。 |
sub_conditions | Array of Condition | 否 |
| 子条件。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | Object of IssueEventListResponseData |
| 返回数据。 |
error_msg | String |
| 错误信息。 |
error_no | Integer |
| 错误码。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
total | Integer |
| 列表总数。 |
result | Array of IssueEvent |
| 列表详情。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
aid | Integer |
| 应用的唯一标识符。 |
rom | String |
| ROM类型或版本。 |
region | String |
| 设备所在地区。 |
channel | String |
| 应用分发渠道。 |
filters | JSON Map |
| 自定义标签。 |
tos_key | String |
| TOS key对象在TOS存储系统的Key。 |
user_id | String |
| 用户的唯一标识符。 |
api_time | Long |
| 上报时间(Unix时间戳)。 |
event_id | String |
| 此次crash的唯一标识符。 |
issue_id | String |
| 与此次事件关联的issue的唯一标识符。 |
device_id | String |
| 设备的唯一标识符。 |
launch_id | String |
| 应用启动的唯一标识符。 |
event_time | Long |
| 客户端事件发生时间(Unix时间戳)。 |
os_version | String |
| 操作系统版本。 |
app_version | String |
| 应用的当前版本。 |
in_app_time | Long |
| 触发事件前的应用使用时长。 |
object_name | String |
| 内存泄露相关可能引起内存泄漏的对象名称。 |
object_size | String |
| 所报告对象的大小。单位:字节。 |
raw_log_key | String |
| 原始日志的存储Key。 |
device_model | String |
| 设备型号。 |
dump_log_key | String |
| 转储日志的存储Key。 |
object_count | String |
| 所报告对象的总计数。 |
process_name | String |
| 运行时出现问题的进程名。 |
is_background | Integer |
| 标识应用是否在后台运行。 |
is_jailbroken | Integer |
| 标识设备是否越狱。 |
is_launch_crash | Integer |
| 标识此次crash是否为启动时crash。 |
large_object_type | Integer |
| 大对象内存类型标识。 |
update_version_code | String |
| 应用的小版本号。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
key | String |
| 自定义key。 |
value | String |
| 自定义key对应的value。 |
POST ?Action=GetAppMemoryEventList&Version=2024-04-09 { "os": "android", "memory_type": "leaked", "issue_id": "issue_12345", "start_time": 1617122400, "end_time": 1617208800, "filters": { "type": "and", "sub_conditions": [ { "dimension": "apm_version", "type": "expression", "op": "in", "values": [ "1.4.5" ] }, { "dimension": "device_model", "type": "expression", "op": "in", "values": [ "MI 5X" ] } ] }, "event_id": "event_12345", "page_no": 1, "page_size": 10, "token": "crash", "is_new": 1 }
{ "data": { "total": 10, "result": [ { "aid": 12345, "rom": "stock", "region": "us-west", "channel": "official", "filters": { "tag1": "value1", "tag2": "value2" }, "tos_key": "tos_key_example", "user_id": "user123", "api_time": 1665417600, "event_id": "event_123456789", "issue_id": "issue_123", "device_id": "abcdef123456", "launch_id": "launch_123", "event_time": 1665417600, "os_version": "Android 11", "app_version": "1.0.0", "in_app_time": 3600, "object_name": "LeakedClass", "object_size": "64", "raw_log_key": "raw_log_123456789", "device_model": "Pixel 4XL", "dump_log_key": "dump_log_123456789", "object_count": "1", "process_name": "com.example.app", "is_background": 0, "is_jailbroken": 0, "is_launch_crash": 1, "large_object_type": 1, "update_version_code": "100200300" } ] }, "error_msg": "", "error_no": 0 }