文档

CloneSample - 复制创建样本

复制创建样本。

调试

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

授权信息

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

请求语法

PUT /v2/openapi/instances/{instanceId}/samples/{sampleId}/actions/clone

请求参数

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

实例 ID

airec-cn-shdjkgkeog
sampleIdstring

样本 id

abc

返回参数

名称类型描述示例值
object

Schema of Response

requestIdstring

Id of the request

8B90B646-1678-41A3-B23F-EAC6587B0E48
resultSample

样本

示例

正常返回示例

JSON格式

{
  "requestId": "8B90B646-1678-41A3-B23F-EAC6587B0E48",
  "result": {
    "Status": "Formatted",
    "Meta": {
      "AutoUpdate": true,
      "AutoUpdateFrequency": 1673341140,
      "ClonedId": "1638877561147",
      "Config": {
        "BhvTableSourceIds": [
          ""
        ],
        "FeatureConfig": {
          "ItemFeatures": "deress,red",
          "UserFeatures": "man"
        },
        "LabelLogic": {
          "BhvTimeWindow": 86400,
          "NegativeBhvTypes": "click,expose",
          "PositiveBhvTypes": "like"
        },
        "WeightLogicList": [
          {
            "Bhv": "click",
            "Weight": "1"
          }
        ]
      },
      "ExtendParams": {
        "LatestTaskStatus": 1,
        "SampleCount": 0
      },
      "MetaType": "Sample",
      "Name": "12345",
      "StoreConfig": "projectName.tableName",
      "Type": "System"
    },
    "GmtCreate": "2021-12-07T12:28:52.000Z",
    "GmtModified": "2021-12-07T12:28:52.000Z",
    "SampleId": "1638880131873"
  }
}

错误码

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

变更历史

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