列表显示所有的召回表信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
GET /v2/openapi/instances/{instanceId}/filtering-algorithms HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| instanceId |
string |
是 |
实例 ID。 |
airec-cn-**** |
| status |
string |
否 |
表示单签召回表的状态。 取值:
|
Running |
| algorithmId |
string |
否 |
召回表 ID。 |
123 |
| page |
integer |
否 |
召回表分页。 |
1 |
| size |
integer |
否 |
召回表大小。 |
1 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回参数。 |
||
| result |
array<object> |
返回参数。 |
|
|
object |
召回表信息。 |
||
| gmtModified |
string |
最后更新时间,单位为 UTC 时间。 |
2018-12-07T02:24:26.000Z |
| status |
string |
表示单签召回表的状态。 取值:
|
Running |
| gmtCreate |
string |
创建时间的 UTC 时间。 |
2018-12-07T02:24:26.000Z |
| algorithmId |
string |
指定的召回 ID。 |
123 |
| meta |
object |
Meta 源数据。 |
|
| taskId |
string |
任务 ID。 |
123 |
| metaType |
string |
算法类型,当前只支持 ODPS。 |
ODPS |
| type |
string |
数据源类型,当前只支持 ODPS。 |
odps |
| extInfo |
object |
召回表类型包含内容。 |
|
| kvSeparator |
string |
kv 分隔符。 |
: |
| itemSeparator |
string |
Item 分隔符。 |
, |
| category |
string |
召回类别。 |
odps |
| threshold |
object |
Table 的阈值信息。 |
|
| sourceDataSizeThreshold |
integer |
源数据大小波动阈值。 |
1 |
| sourceDataRecordThreshold |
integer |
源数据条目数波动阈值。 |
1 |
| indexSizeThreshold |
integer |
索引大小阈值。 |
1 |
| indexLossThreshold |
integer |
索引丢失阈值。 |
1 |
| tableName |
string |
ODPS 召回表名称。 |
item |
| clusterId |
string |
集群 ID。 |
123 |
| cron |
string |
定时调度任务 Cron。 |
0 0/12 0 * * |
| description |
string |
描述。 |
test |
| projectName |
string |
ODPS 中的 ProjectName。 |
airec123 |
| algorithmName |
string |
算法名称。 |
test |
| cronEnabled |
boolean |
是否开启定时任务。 |
true |
| headers |
object |
显示 header 信息,目前有 count 在 map 中。 |
|
| X-Total-Count |
integer |
总数。 |
12 |
| requestId |
string |
请求 ID。 |
7585C2B2-0D61-4C96-AC5D-B960BFEDD4A3 |
示例
正常返回示例
JSON格式
{
"result": [
{
"gmtModified": "2018-12-07T02:24:26.000Z",
"status": "Running",
"gmtCreate": "2018-12-07T02:24:26.000Z",
"algorithmId": "123",
"meta": {
"taskId": "123",
"metaType": "ODPS",
"type": "odps",
"extInfo": {
"kvSeparator": ":",
"itemSeparator": ","
},
"category": "odps",
"threshold": {
"sourceDataSizeThreshold": 1,
"sourceDataRecordThreshold": 1,
"indexSizeThreshold": 1,
"indexLossThreshold": 1
},
"tableName": "item",
"clusterId": "123",
"cron": "0 0/12 0 * *",
"description": "test",
"projectName": "airec123",
"algorithmName": "test",
"cronEnabled": true
}
}
],
"headers": {
"X-Total-Count": 12
},
"requestId": "7585C2B2-0D61-4C96-AC5D-B960BFEDD4A3"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。