List presets
GET/v2/control-rooms/{roomId}/presets
const url = 'https://api.ligr.live/rest/v2/control-rooms/1/presets';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/presets \ --header 'Authorization: Bearer <token>'Beta. This operation can change between minor versions. See Beta status.
Returns stored presets and their explicit variable overrides from an organization-owned room. Presets remain readable when a later theme activation omits their graphic.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Entity identifier
Responses
Section titled “Responses”Ok
Use the returned id as presetId with the overlay control-room graphics endpoint.
object
Entity identifier
Entity identifier
Every control variable operators can see on this preset, with or without a stored value.
Examplegenerated
[ { "id": 1, "controlRoomId": 1, "sectionId": "example", "graphicId": "example", "name": "example", "orderIndex": 1, "variableValues": { "additionalProperty": "example" }, "exposedVariables": [ "example" ] }]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"}