Api session event editor overlay set overlay source

From Tygron Support wiki
Revision as of 10:18, 30 March 2026 by Frank@tygron.nl (talk | contribs) (Created page with "API Event to Add or remove specified sources to or from a specified SOURCE Overlay. Unincluded sources which are already related to the Overlay will remain related. Unincluded sources which are not related to the Overlay will remain unrelated. {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(OVERLAY Integer ID) |Overlay ID (must relate to a SOURCES Overlay) | |- |1 |REQUIRED |(SOURCE Integer ID or multiple values in array [1, 2, 3]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

API Event to Add or remove specified sources to or from a specified SOURCE Overlay. Unincluded sources which are already related to the Overlay will remain related. Unincluded sources which are not related to the Overlay will remain unrelated.

Name Importance Type Description Values
0 REQUIRED (OVERLAY Integer ID) Overlay ID (must relate to a SOURCES Overlay)
1 REQUIRED (SOURCE Integer ID or multiple values in array [1, 2, 3]) Array of source IDs
2 REQUIRED (true, false) Should be added to the Overlay (false removes the sources from the Overlay) true or false

Response Codes

Response Code: Description
204 No Content
300-600 Codes Overview

Example POST

Example POST: https://engine.tygron.com/api/session/event/editoroverlay/set_overlay_source/?f=HTML&token=API_TOKEN

with content:

[ 57, [ 1, 2, 3 ], true ]