文档

ListFilteringAlgorithms - 获取召回表列表

列表显示所有的召回表信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

GET /v2/openapi/instances/{instanceId}/filtering-algorithms

请求参数

名称类型必填描述示例值
instanceIdstring

实例 ID。

airec-cn-****
statusstring

表示单签召回表的状态。

取值:

  • Draft:草稿。

  • Running:运行中。

  • Offline:已下线。

  • Deleted:已删除。

Running
algorithmIdstring

召回表 ID。

123
pageinteger

召回表分页。

1
sizeinteger

召回表大小。

1

返回参数

名称类型描述示例值
object

返回参数。

resultobject []

返回参数。

gmtModifiedstring

最后更新时间,单位为 UTC 时间。

2018-12-07T02:24:26.000Z
statusstring

表示单签召回表的状态。

取值:

  • Draft:草稿。

  • Running:运行中。

  • Offline:已下线。

  • Deleted:已删除。

Running
gmtCreatestring

创建时间的 UTC 时间。

2018-12-07T02:24:26.000Z
algorithmIdstring

指定的召回 ID。

123
metaobject

Meta 源数据。

taskIdstring

任务 ID。

123
metaTypestring

算法类型,当前只支持 ODPS。

ODPS
typestring

数据源类型,当前只支持 ODPS。

odps
extInfoobject

召回表类型包含内容。

kvSeparatorstring

kv 分隔符。

:
itemSeparatorstring

Item 分隔符。

,
categorystring

召回类别。

odps
thresholdobject

Table 的阈值信息。

sourceDataSizeThresholdinteger

源数据大小波动阈值。

1
sourceDataRecordThresholdinteger

源数据条目数波动阈值。

1
indexSizeThresholdinteger

索引大小阈值。

1
indexLossThresholdinteger

索引丢失阈值。

1
tableNamestring

ODPS 召回表名称。

item
clusterIdstring

集群 ID。

123
cronstring

定时调度任务 Cron。

0 0/12 0 * *
descriptionstring

描述。

test
projectNamestring

ODPS 中的 ProjectName。

airec123
algorithmNamestring

算法名称。

test
cronEnabledboolean

是否开启定时任务。

true
headersobject

显示 header 信息,目前有 count 在 map 中。

X-Total-Countinteger

总数。

12
requestIdstring

请求 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"
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (0)
文档反馈