Media asset categories

Updated at:

Media asset categorization is the process of sorting resources, such as audio, video, and images, into groups. Proper categorization helps you retrieve and manage resources more efficiently. This topic provides API call examples from the Python software development kit (SDK) for creating and managing categories.

Usage notes

Initialize a client

Before you use the SDK, initialize a client. For more information, see Initialization.

Create a category

You can call the AddCategory operation to create a category.

Alibaba Cloud OpenAPI Portal: AddCategory .

Update a category

You can call the UpdateCategory operation to update a category.

Alibaba Cloud OpenAPI Portal: UpdateCategory.

Delete a category

You can call the DeleteCategory operation to delete a category.

Alibaba Cloud OpenAPI Portal: DeleteCategory .

Query a category and its subcategories

You can call the GetCategories operation to query a category and its subcategories.

Alibaba Cloud OpenAPI Portal: GetCategories.

References