List all live streams
Get the list of livestreams on the workspace.
Query parameters
The unique stream key that allows you to stream videos.
You can filter live streams by their name or a part of their name.
Allowed: createdAt, publishedAt, name. createdAt - the time a livestream was created using the specified streamKey. publishedAt - the time a livestream was published using the specified streamKey. name - the name of the livestream. If you choose one of the time based options, the time is presented in ISO-8601 format.
Allowed: asc, desc. Ascending for date and time means that earlier values precede later ones. Descending means that later values preced earlier ones. For title, it is 0-9 and A-Z ascending and Z-A, 9-0 descending.
Choose the number of search results to return per page. Minimum value: 1
Results per page. Allowed values 1-100, default is 25.
Response
Success
Example response
{
"pagination": {
"itemsTotal": 123,
"pagesTotal": 7,
"pageSize": 20,
"currentPage": 3,
"currentPageItems": 20,
"links": {
"first": {
"rel": "first",
"uri": "/videos/search?currentPage=1&pageSize=20"
},
"previous": {
"rel": "previous",
"uri": "/videos/search?currentPage=2&pageSize=20"
},
"next": {
"rel": "next",
"uri": "/videos/search?currentPage=4&pageSize=20"
},
"last": {
"rel": "last",
"uri": "/videos/search?currentPage=6&pageSize=20"
}
}
},
"data": [
{
"streamKey": "dw-dew8-q6w9-k67w-1ws8",
"createdAt": "2020-01-31T10:17:47Z",
"assets": {
"thumbnail": "https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg",
"iframe": "<iframe src=\\\"https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5\\\" width=\\\"100%\\\" height=\\\"100%\\\" frameborder=\\\"0\\\" scrolling=\\\"no\\\" allowfullscreen=\\\"\\\"></iframe>",
"hls": "https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8",
"player": "https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr"
},
"public": true,
"restreams": [
{
"streamKey": "dw-dew8-q6w9-k67w-1ws8",
"serverUrl": "rtmp://my.broadcast.example.com/app",
"name": "My RTMP server"
},
{
"streamKey": "dw-dew8-q6w9-k67w-1ws8",
"serverUrl": "rtmp://my.broadcast.example.com/app",
"name": "My RTMP server"
}
],
"liveStreamId": "li400mYKSgQ6xs7taUeSaEKr",
"record": true,
"name": "My Live Stream",
"playerId": "pl45d5vFFGrfdsdsd156dGhh",
"broadcasting": true,
"updatedAt": "2020-01-31T10:18:47Z"
},
{
"streamKey": "dw-dew8-q6w9-k67w-1ws8",
"createdAt": "2020-01-31T10:17:47Z",
"assets": {
"thumbnail": "https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg",
"iframe": "<iframe src=\\\"https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5\\\" width=\\\"100%\\\" height=\\\"100%\\\" frameborder=\\\"0\\\" scrolling=\\\"no\\\" allowfullscreen=\\\"\\\"></iframe>",
"hls": "https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8",
"player": "https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr"
},
"public": true,
"restreams": [
{
"streamKey": "dw-dew8-q6w9-k67w-1ws8",
"serverUrl": "rtmp://my.broadcast.example.com/app",
"name": "My RTMP server"
},
{
"streamKey": "dw-dew8-q6w9-k67w-1ws8",
"serverUrl": "rtmp://my.broadcast.example.com/app",
"name": "My RTMP server"
}
],
"liveStreamId": "li400mYKSgQ6xs7taUeSaEKr",
"record": true,
"name": "My Live Stream",
"playerId": "pl45d5vFFGrfdsdsd156dGhh",
"broadcasting": true,
"updatedAt": "2020-01-31T10:18:47Z"
}
]
}