Get Videos
API endpoint to fetch videos
Our API to fetch videos is not optimized for real-time usage within a production environment.
To enhance the efficiency of your video retrieval process, we recommend that you fetch the video links using the API and store them in a database. By employing this method, you can seamlessly access your video links from the database and stream them as needed.
It is important to note that our video API is subject to a rate limit. Therefore, we strongly advise against using it for video retrieval immediately before playback within a production environment.
Get Video List
Get a list of videos. You can filter or sort videos based on optional query string.
GET
https://api.dyntube.com/v1/videos
Query Parameters
Name | Type | Description |
---|---|---|
page | Integer | Page number |
size | Integer | Page size |
planType | Integer | Type of the plan |
sort | String | Sort order of the results. See details below. |
projectId | String | Id of the project |
tags | String | filter videos by tag name. |
region | String | filter videos by region code. e.g. 'usw-s' |
Sorting of results
The sorting order of the videos would be a query sort
with a value. the format of the value would be field:1 for ascending order and field:-1 for descending order.
C# Sample
Node.js Sample
Python
PHP
A video status 3
means that the video is published. See more details here.
Last updated