Api session event editor overlay add overlay function

From Tygron Support wiki
Revision as of 10:17, 30 March 2026 by Frank@tygron.nl (talk | contribs) (Created page with "API Event to Add a function to highlight to a specified FUNCTION Overlay. {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(OVERLAY Integer ID) |Overlay ID (must relate to a FUNCTION Overlay) | |- |1 |REQUIRED |(FUNCTION Integer ID or multiple values in array [1, 2, 3]) |Function IDs | |} ===Response Codes=== {|class=wikitable !Response Code: !Description |- |204 |No Content |- |300-600 |Codes Overview |} ===Example POST=== Exam...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

API Event to Add a function to highlight to a specified FUNCTION Overlay.

Name Importance Type Description Values
0 REQUIRED (OVERLAY Integer ID) Overlay ID (must relate to a FUNCTION Overlay)
1 REQUIRED (FUNCTION Integer ID or multiple values in array [1, 2, 3]) Function IDs

Response Codes

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

Example POST

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

with content:

[ 97, [ 1, 2, 3 ] ]