The following tables list the API operations available for use in ApsaraVideo VOD.
We recommend that you use server SDKs to call the API operations. For more information about the API endpoint, see VOD centers and endpoints. For more information about the usage limits, see Limits.
Media upload
Operation | Description |
---|---|
Obtains a URL and a credential for uploading a video and generates the video ID. | |
Obtains a new upload credential after the video upload times out. | |
Obtains a URL and a credential for uploading an image. | |
Obtains a URL and a credential for uploading an auxiliary media asset, such as a watermark file or a subtitle file. | |
Uploads multiple media files based on the URLs of mezzanine files to ApsaraVideo VOD at a time. | |
Queries the information about URL-based upload jobs. | |
Immediately deletes the fragments generated during upload. | |
Queries the upload details, such as the upload time, upload ratio, and upload source, about one or more media assets based on the media asset IDs. | |
Registers media assets. |
Audio and video playback
Operation | Description |
---|---|
Queries the streaming URL of a media file, such as a video or audio file, based on the video ID. | |
Queries the playback credential that is required for playing a video. |
Media asset management
Media asset search
Operation | Description |
---|---|
Queries the information about media assets such as videos, audio, images, and auxiliary media assets. |
Media asset categories
Operation | Description |
---|---|
Creates a video category. A maximum of three category levels can be created. Each category can contain up to 100 subcategories. | |
Modifies a video category. | |
Deletes a video category. If a video category is deleted, its subcategories, including level 2 and level 3 categories, are also deleted. Exercise caution when you call this operation. | |
Queries the information about the specified category and its subcategories. |
Audio and video management
Operation | Description |
---|---|
Queries the basic information about a video based on the video ID. The basic information includes the title, description, duration, thumbnail URL, status, creation time, size, snapshots, category, and tags of the video. | |
Modifies the information about a video. | |
Modifies the information about multiple videos at a time. | |
Deletes one or more mezzanine files at a time. | |
Deletes one or more video or audio streams and their storage files at a time. | |
Deletes one or more videos at a time, including their mezzanine files, transcoded stream files, and thumbnail snapshots. | |
Queries the information about videos based on query conditions. | |
Queries the information about multiple videos at a time. |
Image management
Operation | Description |
---|---|
Deletes uploaded images and automatic snapshots of videos. | |
Queries the basic information about an image. | |
Modifies the information about one or more images at a time. | |
Queries the snapshots that are captured from the specified media. |
Auxiliary media asset management
Operation | Description |
---|---|
Queries the basic information about one or more auxiliary media assets. The basic information includes the title, type, tags, and creation time of an auxiliary media asset. | |
Modifies the information about multiple auxiliary media assets at a time. | |
Deletes one or more auxiliary media assets at a time. |
Animated sticker management
Operation | Description |
---|---|
Queries the information about animated stickers that are captured from a video. | |
Deletes the information about animated stickers. |
Media processing
Process initiation
Operation | Description |
---|---|
Submits a transcoding job and starts asynchronous transcoding. | |
Submits a snapshot job for a video and starts asynchronous snapshot processing. This operation supports normal snapshots and sprite snapshots. | |
Submits an animated image job and starts asynchronous processing. | |
Preprocesses a video by using the streaming panel. | |
Initiates a video-on-demand (VOD) workflow to process audio and video files. |
Transcoding templates
Operation | Description |
---|---|
Configures a transcoding template group. You can create a transcoding template group or add one or more transcoding templates to a specified transcoding template group. | |
Modifies the configurations of a transcoding template group. You can modify the configurations of the specified transcoding templates in a transcoding template group. | |
Deletes the configurations of a transcoding template group. You can remove one or more transcoding templates from a transcoding template group or forcibly delete the entire transcoding template group. | |
Queries transcoding template groups. | |
Specifies a transcoding template group as the default one. | |
Queries the details of a transcoding template group based on the transcoding template group ID. |
Video watermarks
Operation | Description |
---|---|
Creates a watermark. | |
Modifies a watermark. | |
Deletes a watermark. | |
Queries watermarks. | |
Queries a single watermark. | |
Specifies a watermark as the default one. |
Snapshot templates
Operation | Description |
---|---|
Creates a snapshot template. | |
Modifies a snapshot template. | |
Deletes a snapshot template. | |
Queries snapshot templates. | |
Queries a single snapshot template. |
Transcoding tasks
Operation | Description |
---|---|
Queries the transcoding summary of one or more videos based on the video ID. The transcoding summary includes the transcoding status and transcoding progress. A video may be transcoded multiple times. This operation returns only the latest transcoding summary. | |
Queries the historical transcoding tasks of a video based on the video ID. This operation does not return detailed job information. | |
Queries the details of transcoding jobs based on the transcoding task ID. |
Online editing
Editing and production
Operation | Description |
---|---|
Produces a video from one or more mezzanine files. |
Project management for online editing
Operation | Description |
---|---|
Creates an online editing project. | |
Modifies an online editing project. | |
Deletes one or more online editing projects. | |
Queries the details of an online editing project. | |
Queries online editing projects. | |
Sets materials to be edited for an online editing project. | |
Queries materials to be edited for an online editing project. |
Media review
Review settings
Operation | Description |
---|---|
Manages the IP addresses in review security groups. | |
Queries the IP addresses in a review security group. |
Manual review
Operation | Description |
---|---|
Performs manual review on media files, such as audio and video files. | |
Queries the manual review history. |
Live to VOD
Operation | Description |
---|---|
Queries live-to-VOD videos. |
CDN for ApsaraVideo VOD
Data monitoring
Operation | Description |
---|---|
Queries the network traffic for one or more specified domain names for CDN. Unit: byte. | |
Queries the bandwidth for one or more specified domain names for CDN. |
Domain name management
Operation | Description |
---|---|
Adds a domain name for CDN to ApsaraVideo VOD. You can add only one domain name for CDN to ApsaraVideo VOD each time. You can add a maximum of 20 domain names for CDN within an Alibaba Cloud account. | |
Modifies a specified domain name for CDN. | |
Removes a domain name for CDN from ApsaraVideo VOD. | |
Enables one or more domain names for CDN that are disabled. After a domain name for CDN is enabled, the value of the DomainStatus parameter is changed to online. | |
Disables one or more domain names for CDN. After a domain name for CDN is disabled, the value of the DomainStatus parameter is changed to offline. | |
Queries the domain names for CDN within your Alibaba Cloud account. | |
Queries the basic information about a specified domain name for CDN. |
Domain name verification
Operation | Description |
---|---|
Verifies the ownership of a specified domain name. | |
Queries the ownership verification content. |
Domain name configurations
Operation | Description |
---|---|
Configures one or more domain names for CDN. | |
Queries the configurations of a specified domain name for CDN. You can query the configurations of one or more features at a time. | |
Deletes the configurations of a domain name for CDN. | |
Enables or disables the Secure Sockets Layer (SSL) certificate for a specified domain name for CDN. When you call this operation to enable the SSL certificate, you can also modify the certificate information. | |
Queries the certificates of a specified domain name for CDN or all the domain names for CDN within your Alibaba Cloud account. | |
Queries the certificate information about a specific domain name for CDN. |
Refresh and prefetch
Operation | Description |
---|---|
Prefetches resources from an origin server to L2 nodes. Users can directly hit the cache upon their first visits. This way, workloads on the origin server can be reduced. This operation supports POST requests and request parameters are in the form format. | |
Refreshes files on Alibaba Cloud CDN nodes. You can refresh multiple files at a time based on URLs. This operation supports POST requests and request parameters are in the form format. | |
Queries the information about one or more refresh or prefetch tasks. | |
Queries the maximum number and remaining number of requests to refresh or prefetch files on the current day. You can prefetch files based on URLs and refresh files based on URLs or directories. |
Log management
Operation | Description |
---|---|
Queries the information about the raw access logs for a specific domain name, including the log path. |
Data statistics
Resource usage
Operation | Description |
---|---|
Queries the traffic or bandwidth data for one or more domain names for CDN. | |
Queries the statistics of media asset management, including the storage statistics and outbound traffic for storage. | |
Queries the statistics on transcoding of different specifications. | |
Queries the statistics on video AI of different types, such as automated review and media fingerprinting. |
Playback statistics
Operation | Description |
---|---|
Queries the playback statistics of daily top videos. The playback statistics includes the video views, unique visitors, and total playback duration. | |
Queries the statistics on average playback each day in a specified time range. | |
Queries the statistics on total playback each day in a specified time range. | |
Queries daily playback statistics on a video in a specified time range. |
Multi-application service
Application management
Operation | Description |
---|---|
Creates an application. | |
Queries the information about one or more applications based on application IDs. | |
Queries the applications that you are authorized to manage based on query conditions. | |
Updates the information about an application. | |
Deletes an application. |
Authorization management
Operation | Description |
---|---|
Grants the permissions on an application of ApsaraVideo VOD to a specified RAM user or RAM role. | |
Queries the permissions that are granted to a specified RAM user or RAM role on an application of ApsaraVideo VOD. | |
Revokes the permissions on an application of ApsaraVideo VOD from a specified RAM user or RAM role. |
Resource migration
Operation | Description |
---|---|
Migrates one or more resources from an application to another application. |
Global configurations
Event notifications
Operation | Description |
---|---|
Sets the callback method, callback URL, and event type of an event notification. | |
Queries the callback method, callback URL, and event type of an event notification. | |
Deletes the callback method, callback URL, and event type of an event notification. |
Storage management
Operation | Description |
---|---|
Updates the cross-domain policy file crossdomain.xml. |