Before You Start
Video on Demand (VOD) is a one-stop solution that uploads, transcodes, and manages media resources and distributes them to your users. VOD offers premium media processing to help you quickly build a secure and scalable VOD platform, eliminating the hassle of managing underlying infrastructure.
This document describes how to use application programming interfaces (APIs) to perform operations on VOD, such as uploading, transcoding, categorizing, and managing audio/video. API Overview lists all supported operations.
If you plan to access VOD through an API, ensure that you are familiar with VOD concepts. For details, see Service Overview.
Endpoints
VOD supports Representational State Transfer (REST) APIs, allowing you to call APIs using HTTPS. For details, see Calling APIs.
An endpoint is the request address for calling an API. Endpoints vary depending on regions. For the endpoints of all services, see Regions and Endpoints.
In addition, VOD provides software development kit (SDK) in multiple programming languages.
APIs Supporting Cross-Origin Requests
See Table 1.
API Request Throttling
API request throttling is configured for VOD to prevent service interruption caused by repeated API calls in a short period. See Table 2.
Category |
API |
API Calls for a Single Tenant Per Minute |
API Calls for All Tenants Per Minute |
---|---|---|---|
Media upload |
|
1,500 |
12,000 |
|
100 |
1,000 |
|
Media processing |
|
100 |
1,000 |
Media management |
|
100 |
1,000 |
Querying file information |
1,500 |
24,000 |
|
|
1,500 |
12,000 |
|
Media pre-loading |
|
100 |
1,000 |
Media category |
|
100 |
1,000 |
Key query |
Key query |
1,500 |
12,000 |
Statistical analysis |
|
100 |
1,000 |
Watermark template management |
|
100 |
1,000 |
Subtitle management |
Managing subtitles |
100 |
1,000 |
Transcoding template management |
|
100 |
1,000 |
Transcoding template set management |
|
100 |
1,000 |
Concepts
- Account
A domain is created upon successful registration. The domain has full access permissions for all of its cloud services and resources. It can be used to reset user passwords and grant user permissions. The account is a payment entity and should not be used to perform routine management. For security purposes, create IAM users and grant them permissions for routine management.
- IAM user
An IAM user is created using an account to use cloud services. Each IAM user has its own identity credentials (password and access keys).
An IAM user can view the account ID and user ID on the My Credentials page of the console. The domain name, username, and password will be required for API authentication.
- Region
A region is a physical location where cloud resources are deployed. Availability zones (AZs) in the same region can communicate with each other over an intranet but AZs in different regions cannot communicate with each other. For low network latency and quick resource access, select the nearest region. The choice of regions may also be subject to legal compliance requirements.
- AZ
An AZ is one or more physical data centers within a region. It has independent cooling, fire extinguishing, moisture-proof, and electricity facilities. Within an AZ, compute, networking, storage, and other resources are logically divided into multiple clusters. AZs within a region are connected using high-speed optical fibers for high availability.
- Project
Projects group and isolate resources (including compute, storage, and network resources) across physical regions. A default project is provided for each region, and subprojects can be created under each default project. Users can be granted permissions to access all resources in a specific project. For more refined access control, create subprojects under a project and purchase resources in the subprojects. Users can then be assigned permissions to access only specific resources in the subprojects.
Figure 1 Project isolating model
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot