Adds an entity to a collection.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| CollectionQualifiedName | string | Yes | The unique identifier of the collection. | album.2222 |
| EntityQualifiedName | string | Yes | The unique identifier of the entity. Example: maxcompute-table.projectA.tableA. | maxcompute-table.projectA.tableB |
| Remark | string | No | The remarks of the entity. Example: latest product table. | this is a remark |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "0000-ABCD-E****",
"Status": true,
"HttpStatusCode": 200,
"ErrorMessage": "The specified product does not exist.",
"ErrorCode": 9999,
"Success": true
}Error codes
| HTTP status code | Error code | Error message |
|---|---|---|
| 400 | Invalid.Entity.NotExist | %s |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2023-08-09 | The Error code has changed. The request parameters of the API has changed | View Change Details |
