Creates a collection.
Operation description
Collections are classified into various types. The names of collections of the same type must be different.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Name | string | Yes | The name of the collection. The name must be 1 to 32 characters in length. | collection_name |
Comment | string | No | The comment of the collection. The comment must be 1 to 64 characters in length. | this is a comment |
ParentQualifiedName | string | No | The unique identifier of the parent collection. | album.333508 |
CollectionType | string | Yes | The type of the collection. | ALBUM |
A category must belong to a data album. You can create a category in a data album only after you create the data album. You can set the parentQualifiedName parameter to the unique identifier of the data album to create the category.
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "E6F0DBDD-5AD****",
"QualifiedName": "album.11111",
"Success": "true",
"ErrorCode": "NoPermission",
"ErrorMessage": "The specified parameters are invalid.",
"HttpStatusCode": "200"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history