/v0.1/apps/{owner_name}/{app_name}/errors/{errorId}/sessionLogs
GET
/v0.1/apps/{owner_name}/{app_name}/errors/{errorId}/sessionLogsGet session logs by error ID
请求参数
Path 参数
errorId
string
必需
The id of the error
owner_name
string
必需
The name of the owner
app_name
string
必需
The name of the application
Query 参数
date
string
可选
Date of data requested
示例代码
返回响应
Session logs of specific error(200)
Error code with reason(500)
Session logs of specific error
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
exceeded_max_limit
boolean
可选
indicates if the number of available logs are more than the max allowed return limit(100).
last_received_log_timestamp
string <date-time>
可选
the timestamp of the last log received. This value can be used as the start time parameter in the consecutive API call.
logs
array [object {9}]
必需
the list of logs
>= 0 items
type
string
必需
Log type.
枚举值:
eventpagestart_sessionerrorpush_installationstart_servicecustom_properties
timestamp
string <date-time>
必需
Log creation timestamp.
install_id
string <uuid>
必需
Install ID.
session_id
string <uuid>
可选
Session ID.
event_id
string
可选
Event ID.
event_name
string
可选
Event name.
message_id
string
可选
Message ID.
properties
object
可选
event specific properties.
device
object
必需
Device characteristics.
示例
{
"exceeded_max_limit": true,
"last_received_log_timestamp": "2019-08-24T14:15:22.123Z",
"logs": [
{
"type": "event",
"timestamp": "2019-08-24T14:15:22.123Z",
"install_id": "a2b40014-cdc0-48fd-8231-b43135445da9",
"session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
"event_id": "string",
"event_name": "string",
"message_id": "string",
"properties": {
"property1": "string",
"property2": "string"
},
"device": {
"sdk_name": "string",
"sdk_version": "string",
"wrapper_sdk_version": "string",
"wrapper_sdk_name": "string",
"model": "string",
"oem_name": "string",
"os_name": "string",
"os_version": "string",
"os_build": "string",
"os_api_level": 0,
"locale": "string",
"time_zone_offset": -840,
"screen_size": "string",
"app_version": "string",
"carrier_name": "string",
"carrier_code": "string",
"carrier_country": "string",
"app_build": "string",
"app_namespace": "string",
"live_update_release_label": "string",
"live_update_deployment_key": "string",
"live_update_package_hash": "string",
"wrapper_runtime_version": "string"
}
}
]
}
修改于 3 个月前