You need to enable JavaScript to run this app.
导航
查询标签历史计算结果
最近更新时间:2024.06.30 18:36:03首次发布时间:2024.06.30 18:36:03

请求说明

Path:/finder/openApi/v2/cdpMeta/labelSystem/label/historyData
Method: GET
Content-type: application/json

请求参数

Path-parameters:

参数

类型

是否必选

示例值

描述

id

Int

2

标签id

showNum

Int

10

标签值数量

startDate

String

2024-06-25

开始日期(格式yyyy-MM-dd)

endDate

String

2024-06-30

结束日期(格式yyyy-MM-dd)

Header:

参数

类型

是否必选

示例值

描述

X-Tenant

Int

1

项目id

返回参数

Response:

{
    "code":0,
    "msg":"成功",
    "data":[
        {
            "scheduleTime":"2023-04-20",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"标签值1",
                    "mappingValue":"标签值1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":15,
            "queryDataCost":148
        },
        {
            "scheduleTime":"2023-04-21",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"标签值1",
                    "mappingValue":"标签值1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":15,
            "queryDataCost":148
        },
        {
            "scheduleTime":"2023-04-22",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"标签值1",
                    "mappingValue":"标签值1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":15,
            "queryDataCost":148
        },
        {
            "scheduleTime":"2023-04-23",
            "distinctNumber":5124,
            "coverage":"100.00%",
            "statistics":[
                {
                    "count":5124,
                    "originValue":"标签值1",
                    "mappingValue":"标签值1",
                    "tagCoverage":"100.00%",
                    "totalCoverage":"100.00%"
                }
            ],
            "queryMauCost":15,
            "queryDataCost":148
        }
    ]
}

字段含义说明
data 返回的是一个 JSON object, 针对关键字段进行说明:同查询标签最新结果API

请求示例

bc 为创建的 RangersClient, 其初始化请参考使用说明, 各语言的 SDK 都提供了类似的接口
调用(Python):

res = bc.request('/finder/openApi/v2/cdpMeta/labelSystem/label/historyData', headers={'x-Tenant': "1"}, params={'startDate': '2023-06-01', 'endDate': '2023-06-16', 'id': 2, 'showNum': 10})
print(res.content)
print(json.loads(res.content))

返回示例

返回结果:

{
    "code":0,
    "msg":"成功",
    "data":[
        {
            "scheduleTime":"2023-06-01",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        },
        {
            "scheduleTime":"2023-06-02",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        },
        {
            "scheduleTime":"2023-06-03",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        },
        {
            "scheduleTime":"2023-06-04",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        },
        {
            "scheduleTime":"2023-06-05",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        },
        {
            "scheduleTime":"2023-06-06",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        },
        {
            "scheduleTime":"2023-06-07",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        },
        {
            "scheduleTime":"2023-06-08",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        },
        {
            "scheduleTime":"2023-06-09",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        },
        {
            "scheduleTime":"2023-06-10",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        },
        {
            "scheduleTime":"2023-06-11",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        },
        {
            "scheduleTime":"2023-06-12",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        },
        {
            "scheduleTime":"2023-06-13",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        },
        {
            "scheduleTime":"2023-06-14",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        },
        {
            "scheduleTime":"2023-06-15",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        },
        {
            "scheduleTime":"2023-06-16",
            "distinctNumber":0,
            "coverage":"0.00%",
            "statistics":[
                {
                    "count":0,
                    "originValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "mappingValue":"\xe6\xa0\x87\xe7\xad\xbe\xe5\x80\xbc1",
                    "tagCoverage":"NA",
                    "totalCoverage":"0.00%"
                }
            ],
            "queryMauCost":70,
            "queryDataCost":531
        }
    ]
}