Media asset categories
Categorize media assets such as audio, videos, and images for efficient retrieval and management. Includes Java SDK examples for creating and managing categories.
Usage notes
For details on API parameters and response fields, visit Alibaba Cloud OpenAPI Explorer and view the Documentation tab for each API.
You can get SDK sample code from Alibaba Cloud OpenAPI Explorer. On the Parameters tab, configure the required parameters and make a call. Then, on the SDK Sample Code tab, select the SDK version and programming language to view and download the code. For more information, see Automatic generation of SDK examples.
Initialize a client
Before using the SDK, initialize a client. Initialization.
Create a category
Call the AddCategory operation to create a category.
Alibaba Cloud OpenAPI Portal: AddCategory .
Update a category
Call the UpdateCategory operation to update a category.
Alibaba Cloud OpenAPI Portal: UpdateCategory.
Delete a category
Call the DeleteCategory operation to delete a category.
Alibaba Cloud OpenAPI Portal: DeleteCategory .
Query a category and its subcategories
Call the GetCategories operation to query a category and its subcategories.
Alibaba Cloud OpenAPI Portal: GetCategories.
References
-
Media asset categories: Manage media asset categories in the ApsaraVideo VOD console.
-
Media asset category management: Complete SDK sample code for media asset category management.