This topic lists all API operations for ApsaraVideo VOD.
You can use a server-side SDK to call API operations. For information about endpoints, see VOD centers and endpoints. For information about limits, see Limits.
Media upload
API | Description |
|---|---|
Get an upload URL and credential for a video and create video information. | |
Get a new upload credential for a video after the upload times out. | |
Get an upload URL and credential for an image. | |
Get an upload URL and credential for an auxiliary media asset, such as a watermark or subtitle file. | |
Pull and upload media files in batches based on their source URLs. | |
Get information about URL-based uploads. | |
Immediately delete fragments generated during an upload. | |
Get upload details for one or more media assets by media ID. The details include the upload time, upload progress, and upload source. | |
Register a media asset. | |
Audio and video playback
API | Description |
|---|---|
Get the playback URL of a media file, such as a video or audio file, by video ID. | |
Get the playback credential required to play a video. |
Media asset management
Media asset search
API | Description |
|---|---|
Search for media assets, such as videos, audio files, images, and auxiliary media assets. |
Media asset categorization
API | Description |
|---|---|
Create a video category. You can create up to three levels of categories. Each category can have up to 100 subcategories. | |
Modify a video category. | |
Delete a video category. Its subcategories, including level-2 and level-3 categories, are also deleted. Use this operation with caution. | |
Get information about a specified category and its subcategories at the next level. |
Audio and video management
API | Description |
|---|---|
Get basic information about a video by video ID. The information includes the title, description, duration, thumbnail URL, status, creation time, size, snapshots, category, and tags. | |
Modify the information about a video. | |
Modify the information about multiple videos at a time. | |
Delete one or more source files and their stored information in a batch. | |
Delete one or more media streams, such as video or audio streams, and their stored files in a batch. | |
Delete one or more complete videos in a batch. This includes their source files, transcoded stream files, and thumbnail snapshots. | |
Get a list of video information. | |
Get information about multiple videos at a time. |
Image management
API | Description |
|---|---|
Delete user-uploaded images and automatically generated video snapshots. | |
Get basic information about an image. | |
Modify the information about multiple images at a time. | |
Query snapshots of a specified media asset. |
Auxiliary media asset management
API | Description |
|---|---|
Get basic information about one or more auxiliary media assets in a batch. The information includes the title, type, tags, and creation time. | |
Modify the information about multiple auxiliary media assets at a time. | |
Delete one or more auxiliary media assets in a batch. |
Animated image management
API | Description |
|---|---|
Query the list of animated images generated from a video. | |
Delete animated image information. |
ApsaraVideo Media Processing
Start processing
API | Description |
|---|---|
Submit a media transcoding job to start asynchronous transcoding. | |
Submit a video snapshot job to start asynchronous snapshotting. Both normal snapshots and sprites are supported. | |
Submit a media animated image job to start asynchronous processing. | |
Submit a video for pre-processing in the production studio. | |
Start a VOD workflow to process audio and video files. |
Transcoding templates
API | Description |
|---|---|
Add transcoding configurations. You can create a transcoding template group or add a new transcoding template to a specified group. | |
Modify transcoding configurations. You can modify a specified transcoding template within a transcoding template group. | |
Delete transcoding configurations. You can delete some transcoding templates from a group or force delete the entire group. | |
Query a list of transcoding template configurations. | |
Set the default transcoding template configuration. | |
Query the details of a transcoding configuration by transcoding template group ID. |
Video watermarks
API | Description |
|---|---|
You can call AddWatermark to add a watermark. | |
Update a watermark. | |
Delete a watermark. | |
Query a list of user watermarks. | |
Query a single watermark. | |
Set the default watermark. |
Snapshot templates
API | Description |
|---|---|
Add a snapshot template. | |
Modify a snapshot template. | |
Delete a snapshot template. | |
Query a list of snapshot templates. | |
Query a single snapshot template. |
Transcoding jobs
API | Description |
|---|---|
Query the transcoding summary of a video by video ID. The summary includes the transcoding status and progress. This operation returns only the latest transcoding summary because a video may be transcoded multiple times. | |
Query the historical transcoding jobs of a video by video ID. This operation does not return detailed job information. | |
Query the details of a transcoding job by transcoding job ID. |
Video editing (online editing)
Editing and production
API | Description |
|---|---|
Produce a finished video by combining one or more videos. |
Editing project management
API | Description |
|---|---|
Create an online editing project (video editing task). | |
Modify an online editing project (video editing task). | |
Delete one or more online editing projects in a batch. | |
Get the details of an online editing project (video editing task). | |
Search for online editing projects (video editing list). | |
Set the materials to be edited for an online editing project. | |
Get the list of materials to be edited for an online editing project. |
Media review
Review settings
API | Description |
|---|---|
Set the security IP addresses for review. | |
Get the list of security IP addresses for review. |
Manual review
API | Description |
|---|---|
Perform a manual review of media assets, such as videos and audio files. | |
Get the history of manual reviews. |
Automated review
API | Description |
|---|---|
Submit an automated review job. The job is executed asynchronously after submission. The operation may return a response before the job is complete. | |
Submit an automated review job for an image. The job is executed asynchronously after submission. The operation may return a response before the job is complete. | |
Query an automated review job. After an AI job is submitted, it is processed asynchronously. Use this operation to query job information in real time. | |
Get the summary of automated review results. | |
Get the details of automated review results. Use this operation to query review result details in real time. | |
Get the timeline of all snapshots that contain prohibited content. | |
Get the details of an audio review. |
Video AI
Basic operations
API | Description |
|---|---|
Submit an AI job. The job is executed asynchronously after submission. The operation may return a response before the job is complete. | |
Query AI jobs. After an AI job is submitted, it is processed asynchronously. Use this operation to query job information in real time. |
AI templates
API | Description |
|---|---|
Add an AI template. | |
Delete an AI template. | |
Modify an AI template. | |
Query an AI template. | |
Query a list of AI templates. | |
Set the default AI template. | |
Query the default AI template. |
Media fingerprint
API | Description |
|---|---|
Get the result of a media fingerprint job. After the job is complete, use this operation to query the fingerprint result in real time. |
Smart Tag
API | Description |
|---|---|
Get smart tag results. |
Intelligent Thumbnail
API | Description |
|---|---|
Submit an AI image processing job. | |
Query a list of AI image jobs. | |
Query the AI image result information for a specified video. | |
Delete AI image information. |
Live-to-VOD
API | Description |
|---|---|
Get a list of live-to-VOD videos. |
CDN for VOD
Data monitoring
API | Description |
|---|---|
Get network traffic monitoring data for accelerated domain names. Unit: byte. | |
Get network bandwidth monitoring data for accelerated domain names. |
Domain name management
API | Description |
|---|---|
Add an accelerated domain name for VOD. You can submit only one accelerated domain name at a time. A user can add a maximum of 20 domain names. | |
Modify an accelerated domain name. | |
Delete an added accelerated domain name for VOD. | |
Enable one or more disabled accelerated domain names for VOD. The DomainStatus is changed to online. | |
Disable one or more accelerated domain names for VOD in a batch. The DomainStatus is changed to Offline. | |
Query all accelerated domain names for VOD under a username. | |
Get basic configuration information for a specified VOD domain name. |
Domain name validation
API | Description |
|---|---|
Verify the ownership of a domain name. | |
Get the content for ownership verification. |
Domain name configuration
API | Description |
|---|---|
Configure accelerated domain names in a batch. | |
Query domain name configurations. You can query the configurations of multiple features at a time. | |
Delete the configuration of an accelerated domain name for VOD. | |
Enable or disable the certificate feature for a domain name and modify certificate information. | |
Get certificate list information. | |
Get the certificate information for a specified accelerated domain name. |
Refresh and prefetch
API | Description |
|---|---|
Prefetch content from the origin server to L2 cache nodes. This allows the first access to directly hit the cache and reduces the pressure on the origin server. This operation supports POST requests with parameters in a form. | |
Refresh the file content on nodes. Refresh content on cache nodes by URL. You can refresh multiple URLs in a batch. This operation supports POST requests with parameters in a form. | |
Query whether refresh and prefetch tasks have taken effect. | |
Query the daily quota and remaining quota for refreshing or prefetching URLs and directories. |
Log management
API | Description |
|---|---|
Get the download URL for the raw CDN access logs of a specified domain name. |
Data statistics
Usage data
API | Description |
|---|---|
Query accelerated traffic or bandwidth usage data. | |
Query usage data for media asset management, including storage space and outbound storage traffic. | |
Query transcoding usage data. | |
Query usage data for AI processing, such as automated review and media fingerprint. |
Playback data
API | Description |
|---|---|
Get daily playback statistics for top videos, including video views (VV), unique visitors (UV), and total playback duration. | |
Get the average daily playback data for a specified time range. | |
Get the total daily playback data for a specified time range. | |
Get daily playback statistics for a specified video within a specified time range. |
Multi-application system
Application management
API | Description |
|---|---|
You can call the CreateAppInfo operation to create an application. | |
Query application information by application ID. You can query multiple applications at a time. | |
Get a list of applications that you have permission to access based on query conditions. | |
You can call UpdateAppInfo to update application information. | |
Delete application information. |
Authorization management
API | Description |
|---|---|
Grant access permissions on a VOD application to a specified identity, such as a RAM user or RAM role. | |
List the application permissions granted to a specified identity, such as a RAM user or RAM role. | |
Revoke specified application permissions from a specified identity, such as a RAM user or RAM role. |
Resource migration
API | Description |
|---|---|
Migrate resources, such as media assets, from one application to another. |
Global settings
Event notifications
API | Description |
|---|---|
Set the callback method, webhook address, and event type for event notifications. | |
Query the callback method, webhook address, and event type for event notifications. | |
Delete the callback method, webhook address, and event type for event notifications. |
Storage management
API | Description |
|---|---|
Update the content of the VOD cross-domain file crossdomain.xml. |