You need to enable JavaScript to run this app.
导航
入库校验明细
最近更新时间:2024.06.30 18:36:04首次发布时间:2024.06.30 18:36:04

请求说明

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
    }
}