List streams
GET/v1/streams
const url = 'https://api.ligr.live/rest/v1/streams?matchId=1';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.ligr.live/rest/v1/streams?matchId=1' \ --header 'Authorization: Bearer <token>'Lists the streams of a match with their configuration.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Entity identifier
The match identifier
Responses
Section titled “Responses”Ok
object
The configuration of one stream of a match.
object
Entity identifier
Entity identifier
Entity identifier
The overlay the stream renders. Null when no overlay is linked.
Video bitrate in kb/s. Null means the preset for the resolution.
The input the stream reads. Null until one is linked or resolved.
specific uses inputId. home and venue resolve the input from the match.
specific uses destinations. home and venue resolve them from the match.
object
Entity identifier
object
object
object
object
Minutes relative to the scheduled start of the match.
Minutes relative to the scheduled start of the match.
Minutes relative to the time the match stopped.
Example
{ "streams": [ { "resolution": "1280 * 720", "fps": "25", "region": "us-east-1", "size": "small", "inputSelection": "specific", "destinationSelection": "specific", "destinations": [ { "type": "youtube" } ], "autoStreamConfig": { "preview": { "mode": "schedule" }, "goLive": { "mode": "schedule" }, "stop": { "mode": "schedule" } } } ]}Request is invalid
object
object
Examplegenerated
{ "message": "example", "details": { "additionalProperty": "example" }}Missing or invalid api key
object
Examplegenerated
{ "message": "example"}Api key provides insufficient access for the request
object
Examplegenerated
{ "message": "example"}Stream not found
object
Examplegenerated
{ "message": "example"}Api key has made too many requests
object
Examplegenerated
{ "message": "example"}An unexpected error has occured. If problems persist please contact support
object
Examplegenerated
{ "message": "example"}