List all videos
GET
/videos
Videos
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://ws.api.video/videos'
Response Response Example
200 - response
{
"data": [
{
"assets": {
"hls": "https://cdn.api.video/stream/831a9bd9-9f50-464c-a369-8e9d914371ae/hls/manifest.m3u8",
"iframe": "<iframe src=\"//embed.api.video/c188ed58-3403-46a2-b91b-44603d10b2c9?token=831a9bd9-9f50-464c-a369-8e9d914371ae\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>",
"mp4": "https://cdn.api.video/vod/vi4k0jvEUuaTdRAEjQ4Jfrgz/token/8fd70443-d9f0-45d2-b01c-12c8cfc707c9/mp4/720/source.mp4",
"player": "https://embed.api.video/c188ed58-3403-46a2-b91b-44603d10b2c9?token=831a9bd9-9f50-464c-a369-8e9d914371ae",
"thumbnail": "https://cdn.api.video/stream/831a9bd9-9f50-464c-a369-8e9d914371ae/thumbnail.jpg"
},
"description": "An amazing video explaining the string theory",
"metadata": [
{
"key": "Author",
"value": "John Doe"
},
{
"key": "Format",
"value": "Tutorial"
}
],
"mp4Support": true,
"panoramic": false,
"playerId": "pl45KFKdlddgk654dspkze",
"public": false,
"publishedAt": "2019-12-16T08:25:51.000Z",
"source": {
"uri": "/videos/c188ed58-3403-46a2-b91b-44603d10b2c9/source"
},
"tags": [
"maths",
"string theory",
"video"
],
"title": "Maths video",
"updateddAt": "2019-12-16T08:48:49.000Z",
"videoId": "vi4k0jvEUuaTdRAEjQ4Prklg"
},
{
"assets": {
"hls": "https://cdn.api.video/stream/831a9bd9-9f50-464c-a369-8e9d914371ae/hls/manifest.m3u8",
"iframe": "<iframe src=\"//embed.api.video/1b9d6ae8-8f57-4b6d-8552-d636926b4f5f?token=831a9bd9-9f50-464c-a369-8e9d914371ae\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>",
"player": "https://embed.api.video/1b9d6ae8-8f57-4b6d-8552-d636926b4f5f?token=831a9bd9-9f50-464c-a369-8e9d914371ae",
"thumbnail": "https://cdn.api.video/stream/831a9bd9-9f50-464c-a369-8e9d914371ae/thumbnail.jpg"
},
"description": "A description for your video.",
"metadata": [
{
"key": "Author",
"value": "John Doe"
},
{
"key": "Science Fiction",
"value": "Cyberpunk"
},
{
"key": "Technology",
"value": "Computers"
}
],
"mp4Support": true,
"panoramic": false,
"public": false,
"publishedAt": "2019-12-16T08:25:51.000Z",
"source": {
"uri": "/videos/1b9d6ae8-8f57-4b6d-8552-d636926b4f5f/source"
},
"tags": [
"books",
"short stories"
],
"title": "Video Title",
"updateddAt": "2019-12-16T08:48:49.000Z",
"videoId": "vi4k0jvEUuaTdRAEjQ4Jfrgz"
},
{
"assets": {
"hls": "https://cdn.api.video/stream/831a9bd9-9f50-464c-a369-8e9d914371ae/hls/manifest.m3u8",
"iframe": "<iframe src=\"//embed.api.video/73129412-e320-4b93-99f6-59a85e3cedcd?token=831a9bd9-9f50-464c-a369-8e9d914371ae\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>",
"player": "https://embed.api.video/73129412-e320-4b93-99f6-59a85e3cedcd?token=831a9bd9-9f50-464c-a369-8e9d914371ae",
"thumbnail": "https://cdn.api.video/stream/831a9bd9-9f50-464c-a369-8e9d914371ae/thumbnail.jpg"
},
"description": "A brief description of the video.",
"metadata": [
{
"key": "Length",
"value": "Short"
}
],
"mp4Support": true,
"panoramic": false,
"playerId": "pl45KFKdlddgk654dspkze",
"public": false,
"publishedAt": "2019-12-16T08:25:51.000Z",
"source": {
"uri": "/videos/73129412-e320-4b93-99f6-59a85e3cedcd/source"
},
"tags": [
"General",
"Videos"
],
"title": "My Video Title",
"updateddAt": "2019-12-16T08:48:49.000Z",
"videoId": "vi4k0jvEUuaTdRAEjQ4Jfrgz"
}
],
"pagination": {
"currentPage": 1,
"currentPageItems": 11,
"itemsTotal": 11,
"links": [
{
"rel": "self",
"uri": "https://ws.api.video/videos?currentPage=1"
},
{
"rel": "first",
"uri": "https://ws.api.video/videos?currentPage=1"
},
{
"rel": "last",
"uri": "https://ws.api.video/videos?currentPage=1"
}
],
"pageSize": 25,
"pagesTotal": 1
}
}
Request
Query Params
title
stringÂ
optional
Example:
My Video.mp4
tags
array[string]
optional
Example:
"tags": ["captions", "dialogue"]
metadata
array[string]
optional
Example:
[{"key":"Author","value":"John Doe"},{"key":"Format","value":"Tutorial"}]
description
stringÂ
optional
Example:
New Zealand
liveStreamId
stringÂ
optional
Example:
li400mYKSgQ6xs7taUeSaEKr
sortBy
stringÂ
optional
Example:
publishedAt
sortOrder
stringÂ
optional
Example:
asc
currentPage
integerÂ
optional
Example:
2
pageSize
integerÂ
optional
Example:
30
Responses
Modified at 2023-08-15 05:52:15