List all live streams
GET
/live-streams
Live
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://ws.api.video/live-streams'
Response Response Example
{
"data": [
{
"assets": {
"hls": "https://live.api.video/li400mYKSgQ6xs7taUeSaEKr.m3u8",
"iframe": "<iframe src=\"https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>",
"player": "https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr",
"thumbnail": "https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg"
},
"broadcasting": false,
"createdAt": "2020-01-31T10:17:47.000Z",
"liveStreamId": "li400mYKSgQ6xs7taUeSaEKr",
"name": "Live Stream From the browser",
"public": true,
"record": true,
"streamKey": "30087931-229e-42cf-b5f9-e91bcc1f7332",
"updatedAt": "2020-03-09T13:19:43.000Z"
},
{
"assets": {
"hls": "https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8",
"iframe": "<iframe src=\"https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>",
"player": "https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5",
"thumbnail": "https://cdn.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg"
},
"broadcasting": false,
"createdAt": "2020-07-29T10:45:35.000Z",
"liveStreamId": "li4pqNqGUkhKfWcBGpZVLRY5",
"name": "Live From New York",
"public": true,
"record": true,
"streamKey": "cc1b4df0-d1c5-4064-a8f9-9f0368385135",
"updatedAt": "2020-07-29T10:45:35.000Z"
}
],
"pagination": {
"currentPage": 1,
"currentPageItems": 19,
"itemsTotal": 19,
"links": [
{
"rel": "self",
"uri": "/live-streams?currentPage=1&pageSize=25"
},
{
"rel": "first",
"uri": "/live-streams?currentPage=1&pageSize=25"
},
{
"rel": "last",
"uri": "/live-streams?currentPage=1&pageSize=25"
}
],
"pageSize": 25,
"pagesTotal": 1
}
}
Request
Query Params
streamKey
string
optional
Example:
30087931-229e-42cf-b5f9-e91bcc1f7332
name
string
optional
Example:
My Video
sortBy
string
optional
Example:
createdAt
sortOrder
string
optional
Example:
desc
currentPage
integer
optional
Example:
2
pageSize
integer
optional
Example:
30
Responses
Modified at 2023-08-15 05:52:15