Api session event editor trigger set timing: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Event to Set Timing {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(TRIGGER Integer ID or multiple values in array [1, 2, 3]) |Triggers | |- |1 |REQUIRED |(Timing or multiple values in array [a, b, c]) |Timing[] | |} ===Response Codes=== {|class=wikitable !Response Code: !Description |- |204 |No Content |- |300-600 |Codes Overview |} ===Example POST=== Example POST: https://engine.tygron.com/api/session/event/editortrigger/set_tim..."
 
No edit summary
Line 10: Line 10:
|REQUIRED
|REQUIRED
|(TRIGGER Integer ID or multiple values in array [1, 2, 3])
|(TRIGGER Integer ID or multiple values in array [1, 2, 3])
|[[Trigger]]s
|[[Trigger]]
|
|
|-
|-
Line 34: Line 34:


with content:  
with content:  
<pre>[ [ 1, 2, 3 ], [ "AFTER", "BEFORE", "AFTER" ] ]
<pre>[ [ 1, 2, 3 ], [ "BEFORE", "BEFORE", "AFTER" ] ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor trigger]]}}
{{article end|seealso=*[[api session event editor trigger]]}}


[[Category:API]]
[[Category:API]]

Revision as of 07:56, 31 March 2026

API Event to Set Timing

Name Importance Type Description Values
0 REQUIRED (TRIGGER Integer ID or multiple values in array [1, 2, 3]) Trigger
1 REQUIRED (Timing or multiple values in array [a, b, c]) Timing[]

Response Codes

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

Example POST

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

with content:

[ [ 1, 2, 3 ], [ "BEFORE", "BEFORE", "AFTER" ] ]