修改召回表的配置。
接口说明
可修改的配置有: ● cron、cronEnabled ● description ● algorithmName ● threshold:注意,如果要修改 ODPS 表的阈值配置信息,必须全量提交,不支持只传入 ODPS 表的阈值配置信息下边的某一项。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求语法
PUT /v2/openapi/instances/{instanceId}/filtering-algorithms/{algorithmId}/meta
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
instanceId | string | 是 | 实例 ID。 | airec-cn-**** |
algorithmId | string | 是 | 指定的召回 ID。 | 1 |
返回参数
示例
正常返回示例
JSON
格式
{
"result": {
"gmtModified": "2018-12-07T02:24:26.000Z",
"status": "Running",
"gmtCreate": "2018-12-07T02:24:26.000Z",
"algorithmId": "abc",
"meta": {
"taskId": "taskId",
"metaType": "metaType",
"type": "ODPS",
"extInfo": {
"kvSeparator": ":",
"itemSeparator": ","
},
"category": "1_2",
"threshold": {
"sourceDataSizeThreshold": 1,
"sourceDataRecordThreshold": 1,
"indexSizeThreshold": 1,
"indexLossThreshold": 1
},
"tableName": "test_table",
"clusterId": "244",
"cron": "* * 24 7 0",
"description": "test",
"projectName": "test",
"algorithmName": "test",
"cronEnabled": true
}
},
"requestId": "7585C2B2-0D61-4C96-AC5D-B960BFEDD4A3"
}
错误码
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|
暂无变更历史