文档

AddMetaCollectionEntity

更新时间:

添加实体到集合中

调试

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

请求参数

名称

类型

是否必选

示例值

描述

Action String AddMetaCollectionEntity

系统规定参数。取值:AddMetaCollectionEntity

CollectionQualifiedName String album.2222

集合唯一标识符

EntityQualifiedName String maxcompute-table.projectA.tableB

实体唯一标识符.

例如 maxcompute-table.projectA.tableA

Remark String this is a remark

对实体的备注信息。例如:这个最新的商品表

返回数据

名称

类型

示例值

描述

RequestId String 0000-ABCD-E****

请求的ID。用于定位日志,排查问题。

Status Boolean true

操作结果:

  • true: 成功
  • false: 失败
HttpStatusCode Integer 200

HTTP状态码。

ErrorMessage String The specified product does not exist.

错误信息。

ErrorCode String 9999

错误码。

Success Boolean true

调用是否成功。取值如下:

true:调用成功。

false:调用失败。

示例

请求示例

http(s)://[Endpoint]/?Action=AddMetaCollectionEntity
&CollectionQualifiedName=album.2222
&EntityQualifiedName=maxcompute-table.projectA.tableB
&Remark=this is a remark
&公共请求参数

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<AddMetaCollectionEntityResponse>
    <RequestId>0000-ABCD-E****</RequestId>
    <Status>true</Status>
    <HttpStatusCode>200</HttpStatusCode>
    <ErrorMessage>The specified product does not exist.</ErrorMessage>
    <ErrorCode>9999</ErrorCode>
    <Success>true</Success>
</AddMetaCollectionEntityResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "0000-ABCD-E****",
  "Status" : true,
  "HttpStatusCode" : 200,
  "ErrorMessage" : "The specified product does not exist.",
  "ErrorCode" : 9999,
  "Success" : true
}

错误码

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

  • 本页导读 (1)
文档反馈