Path:openapi/v1/{app_id}/data_quality/audit_result
Method: GET
Content-type: application/json
Query-parameters:
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
start_timestamp | int | 是 | 1678636800 | 查询开始时间的10位时间戳 |
end_timestamp | int | 是 | 1679155200 | 查询结束时间的10位时间戳 |
page_size | int | 是 | 1000 | 每页数量,不得超过1000 |
page_no | int | 是 | 1 | 页码,从1开始 |
bc
为创建的 RangersClient, 其初始化请参考 “OpenAPI SDK 使用说明”, 各语言的 SDK 都提供了类似的接口
调用(Python):
res = bc.data_finder('/openapi/v1/10000005/data_quality/audit_result', params={"start_timestamp": "1678636800", "end_timestamp": "1679155200", "page_size": "1000", "page_no": "1"}) print(res.content)
返回结果:
{ "code": 200, "message": "success", "data": { "data_item_list": [ { "name": "test_server_mp1", "show_name": "test_server_mp1", "platform": "", "sdk_version": "", "accept_count": 0, "dropped_count": 3, "receive_count": 3, "param_exception_count": 0, "group_by_key": "test_server_mp1,,", "error_types": [ { "error_code": "1010006", "error_msg": "入库事件发生时间超出有效窗口期", "count": 3 } ] } ], "page_no": 1, "page_size": 10, "total": 1 } }