Returns the list of all available Live Streams in specified environment of your organization. Passing a production token will retrieve all production environment's Live Streams while passing a development token will retrieve all development environment's Live Streams.
Pagination
If you want to get the streams in certain page, append ?page={page_number}
at the end of your URL
Example: https://api.liveapi.com/live_streams?page=2
Filter by stream ID
If you want to get the streams by stream ID, you can also use ?stream={stream_ID}
, this will give you a list of all streams with stream ID started with 624
.
Example: https://api.liveapi.com/live_streams?stream=624
Filter by status
If you want to get a list of streams that are online, you can use the following parameter: broadcasting_status=online
Example: https://api.liveapi.com/live_streams?broadcasting_status=online
If you want to get a list of streams that are offline, you can use the following parameter: broadcasting_status=offline
Example: https://api.liveapi.com/live_streams?broadcasting_status=offline
By default, the reponse will return 10 streams per page, if you want to get a certain number of streams per page, you can use the following parameter: limit=[number of streams per page]
Example: https://api.liveapi.com/live_streams?broadcasting_status=offline&limit=15