Get a control room
GET/v2/control-rooms/{roomId}
const url = 'https://api.ligr.live/rest/v2/control-rooms/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/v2/control-rooms/1 \ --header 'Authorization: Bearer <token>'Beta. This operation can change between minor versions. See Beta status.
Returns a room owned by your organization with its sections, its theme, and its presets. Each preset lists its graphic id, graphic name and exposed variables. When the key also has overlays:read, the response lists the overlays that use the room. Each overlay has a read-only monitoringUrl, so you can check the room without a dashboard login.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Entity identifier
Responses
Section titled “Responses”Ok
A room with everything needed to check it without a dashboard login. Fire presets with their id through the overlay control-room graphics endpoint.
object
Entity identifier
Entity identifier
object
object
Entity identifier
Published theme version that overlays render, or null before activation.
object
Entity identifier
Entity identifier
Every control variable operators can see on this preset, with or without a stored value.
Name of the preset’s graphic in the theme. Absent when the graphic was deleted from the theme.
Overlays that use this room, each with its read-only monitoringUrl. Present only when the key has the overlays:read scope.
object
Entity identifier
Entity identifier
Seconds to delay graphic updates
Stringified UUIDv4. See RFC 4112
Open this URL with an authenticated dashboard session after setup.
Read-only monitoring page of this overlay on the overlay host of this environment. Open it to see the graphics that are on air. It does not take control of the overlay.
Example
{ "overlays": [ { "matchId": 703, "id": 2300003, "name": "Overlay 1", "encodingDelay": 6, "key": "3b2bbcc8-0544-4edb-b847-8179ba026086" } ]}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"}Theme, control room, section, or graphic 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"}