更新时间:2020-04-21 16:26
获取实时数据报告异常明细
GET
/openapi/instances/{instanceId}/sync-reports/outliers
参数 | 类型 | 是否必选 | 描述 |
---|---|---|---|
startTime | 时间戳秒 | 是 | s时间戳,查询的整点时间 |
endTime | 时间戳秒 | 是 | s时间戳,查询的整点时间 |
key | String | 是 | 见下表 |
type | String | 是 | item/hehavoir/user |
levelType | String | 是 | error/info/warn |
key | 校验规则 | 优化建议 |
---|---|---|
itemBhv | 实时行为中,商品ID是否存在于商品库中 | |
userBhv | 实时行为中,用户ID是否存在于用户库中 | |
bhvTypeBhv | 实时行为中,bhv_type是否合法 | |
traceIdBhv | 实时行为中,trace_id是否合法 | |
traceInfoBhv | 实时行为中,trace_info是否合法 | |
itemItem | 修改记录物品ID是否合法 | |
userUser | 修改记录用户ID是否合法 |
key | 文案 | 问号内容 |
---|---|---|
updateCnt | 查询时段更新类型消息数 | 查询时段更新类型消息总数,不去重 |
deleteCnt | 查询时段删除类型消息数 | 查询时段删除类型消息总数,不去重 |
addCnt | 查询时段新增类型消息数 | 查询时段新增类型消息总数,不去重 |
参数 | 类型 | 描述 |
---|---|---|
RequestId | String | 当前请求的RequestID |
Result | Map | 返回详情结果 |
GET /openapi/instances/airec-cn-xxxxxx/sync-reports/outliers?startTime=1563944400&endTime=1563988400&key=itemBhv&type=item
{
"RequestId":"70A97872-A943-41AB-9B96-A2DA8A23D062",
"Result":{
"Num": 2380,
"KeyList": [
"trace_id",
"trace_info",
"imei",
"scene_id",
"user_id",
"item_id",
"item_type",
"bhv_type",
"bhv_value",
"bhv_time",
"_cmd"
],
"Detail": [
{
"trace_id": "selfhold",
"trace_info": "bi_recommend",
"imei": "e655efcdebd1195d",
"scene_id": "1_0:1",
"user_id": "abf9dcf4-ad45-42a3-8206-f9b59f69bad4",
"item_id": "1_14533808700",
"item_type": "item",
"bhv_type": "expose",
"bhv_value": "1",
"bhv_time": "1566506063",
"_cmd": "add"
},
{
"trace_id": "Alibaba",
"trace_info": "1007.58514.121841.100200300000000:110c90ff-5dee-441a-9d77-5e3000f178d0:0347ace0-8666-4fad-8958-b85ae1313317:1_0:0:2:3_0:1:::12:content___1_100002501966:item:cd:9.9073564027936E-4:0.050983321410151126:0.0016925159331663759:1563250693409::::::::::",
"imei": "819183BF-0F5E-488A-B036-27CC67166440",
"scene_id": "3_0:1",
"user_id": "0347ace0-8666-4fad-8958-b85ae1313317",
"item_id": "1_100002501966",
"item_type": "item",
"bhv_type": "expose",
"bhv_value": "1",
"bhv_time": "1566506155",
"_cmd": "add"
}
]
}
}
在文档使用中是否遇到以下问题
更多建议
匿名提交