分页查询检测目标库
listAiDetectRepositoryByPage:分页查询检测目标库
功能详情
分页查询已创建的检测目标库信息
请求地址
https://openapi.lechange.cn/openapi/listAiDetectRepositoryByPage
传入参数说明
| 参数名 | 参数类型 | 是否必填 | 默认值 | 合法值 | 参数说明 |
|---|---|---|---|---|---|
| token | String | 是 | 管理员 accessToken | ||
| page | Integer | 是 | 查询第几页 | ||
| pageSize | Integer | 是 | 每页查询数量,最大20 | ||
| repositoryName | String | 否 | 检测库名称,支持模糊查询 |
样例输入
{
"system": {
"ver": "1.0",
"appId": "lcdxxxxxxxxx",
"sign": "b7e5bbcc6cc07941725d9ad318883d8e",
"time": 1599013514,
"nonce": "fbf19fc6-17a1-4f73-a967-75eadbc805a2"
},
"id": "98a7a257-c4e4-4db3-a2d3-d97a3836b87c",
"params": {
"token": "xxxxxxxxxxxxxxxxxxxxxx",
"page": 1,
"pageSize": 20
}
}
返回 data 字段说明
| 字段名 | 字段类型 | 字段说明 | |
|---|---|---|---|
| total | Integer | 目标库总数 | |
| repositoryList | repositoryId | String | 检测目标库ID |
| repositoryName | String | 检测目标库名称 | |
| repositoryType | String | 目标库存储数据类型。face:代表人脸库;human:代表人形工装库 | |
样例输出
{
"result": {
"msg": "操作成功。",
"code": "0",
"data": {
"total": 16,
"repositoryList": [
{
"repositoryId": "xxxxxxxxxxxxxx",
"repositoryName": "目标库1",
"repositoryType": "face"
},
{
"repositoryId": "xxxxxxxxxxxxxx",
"repositoryName": "目标库2",
"repositoryType": "human"
}
]
}
},
"id": "WQNuHrTCXORxxxxxxxxxxxxxxx"
}