List all live streams

GET {{baseUrl}}/live-streams?streamKey=<string>&name=<string>&sortBy=<string>&sortOrder=asc&currentPage=1&pageSize=25

Get the list of livestreams on the workspace.

Request Params

KeyDatatypeRequiredDescription
streamKeystringThe unique stream key that allows you to stream videos.
namestringYou can filter live streams by their name or a part of their name.
sortBystringAllowed: 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.
sortOrderstringAllowed: 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.
currentPagenumberChoose the number of search results to return per page. Minimum value: 1
pageSizenumberResults per page. Allowed values 1-100, default is 25.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;liveStreamId&quot;:&quot;\u003cstring\u003e&quot;,&quot;restreams&quot;:[{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;serverUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;streamKey&quot;:&quot;\u003cstring\u003e&quot;},{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;serverUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;streamKey&quot;:&quot;\u003cstring\u003e&quot;}],&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;streamKey&quot;:&quot;\u003cstring\u003e&quot;,&quot;public&quot;:&quot;\u003cboolean\u003e&quot;,&quot;assets&quot;:{&quot;hls&quot;:&quot;\u003curi\u003e&quot;,&quot;iframe&quot;:&quot;\u003cstring\u003e&quot;,&quot;player&quot;:&quot;\u003curi\u003e&quot;,&quot;thumbnail&quot;:&quot;\u003curi\u003e&quot;},&quot;playerId&quot;:&quot;\u003cstring\u003e&quot;,&quot;broadcasting&quot;:&quot;\u003cboolean\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;},{&quot;liveStreamId&quot;:&quot;\u003cstring\u003e&quot;,&quot;restreams&quot;:[{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;serverUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;streamKey&quot;:&quot;\u003cstring\u003e&quot;},{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;serverUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;streamKey&quot;:&quot;\u003cstring\u003e&quot;}],&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;streamKey&quot;:&quot;\u003cstring\u003e&quot;,&quot;public&quot;:&quot;\u003cboolean\u003e&quot;,&quot;assets&quot;:{&quot;hls&quot;:&quot;\u003curi\u003e&quot;,&quot;iframe&quot;:&quot;\u003cstring\u003e&quot;,&quot;player&quot;:&quot;\u003curi\u003e&quot;,&quot;thumbnail&quot;:&quot;\u003curi\u003e&quot;},&quot;playerId&quot;:&quot;\u003cstring\u003e&quot;,&quot;broadcasting&quot;:&quot;\u003cboolean\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;}],&quot;pagination&quot;:{&quot;links&quot;:[{&quot;rel&quot;:&quot;\u003cstring\u003e&quot;,&quot;uri&quot;:&quot;\u003curi\u003e&quot;},{&quot;rel&quot;:&quot;\u003cstring\u003e&quot;,&quot;uri&quot;:&quot;\u003curi\u003e&quot;}],&quot;itemsTotal&quot;:&quot;\u003cinteger\u003e&quot;,&quot;pagesTotal&quot;:&quot;\u003cinteger\u003e&quot;,&quot;pageSize&quot;:&quot;\u003cinteger\u003e&quot;,&quot;currentPage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;currentPageItems&quot;:&quot;\u003cinteger\u003e&quot;}}