Api session event editor overlay set service source
Jump to navigation
Jump to search
API Endpoint: editoroverlay/set_service_source.
Description: Set the Service Source for a specified Service Overlay.
| Name | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (OVERLAY Integer ID) | Service Overlay ID | |
| 1 | REQUIRED | (SOURCE Integer ID) | Source ID |
Response Codes
| Response Code: | Description |
|---|---|
| 204 | No Content |
| 300-600 | Codes Overview |
Example POST
Curl example POST:
curl 'https://engine.tygron.com/api/session/event/editoroverlay/set_service_source/' -H 'Content-Type: application/json' -H 'Authorization: Bearer API_TOKEN' -d '[ 1, 1 ]'JavaScript example POST:
var options = {
method: "POST",
headers: { "Content-Type": "application/json", "Authorization": "Bearer API_TOKEN" },
body: '[ 1, 1 ]'
};
fetch("https://engine.tygron.com/api/session/event/editoroverlay/set_service_source/", options)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));