Update an overlay
POST/v1/overlays/{overlayId}
POST
/v1/overlays/{overlayId}
const url = 'https://api.ligr.live/rest/v1/overlays/1';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example","encodingDelay":1,"adType":"free","competitionThemeSettingId":1,"controlRoomId":1,"autoMode":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.ligr.live/rest/v1/overlays/1 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "encodingDelay": 1, "adType": "free", "competitionThemeSettingId": 1, "controlRoomId": 1, "autoMode": true }'Update an existing overlay.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”overlayId
required
Entity identifier
integer format: int32
The overlay id
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
Match name
string
encodingDelay
Graphics delay in seconds. The overlay holds every graphic back by this much, so the graphics land on the delayed picture of the stream.
integer format: int32
adType
string
competitionThemeSettingId
Entity identifier
integer format: int32
controlRoomId
integer format: int32
autoMode
Auto Graphics. When true, the automation of the match fires the graphics on this overlay.
boolean
Responses
Section titled “Responses”No content
Request is invalid
Media typeapplication/json
object
message
required
string
details
required
object
key
additional properties
Examplegenerated
{ "message": "example", "details": { "additionalProperty": "example" }}Missing or invalid api key
Media typeapplication/json
object
message
required
string
Examplegenerated
{ "message": "example"}Api key provides insufficient access for the request
Media typeapplication/json
object
message
required
string
Examplegenerated
{ "message": "example"}Overlay not found
Media typeapplication/json
object
message
required
string
Examplegenerated
{ "message": "example"}Api key has made too many requests
Media typeapplication/json
object
message
required
string
Examplegenerated
{ "message": "example"}An unexpected error has occured. If problems persist please contact support
Media typeapplication/json
object
message
required
string
Examplegenerated
{ "message": "example"}