Api session event editor update: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Maxim@tygron.com (talk | contribs)
No edit summary
No edit summary
 
Line 1: Line 1:
API Endpoint: api/session/event/editor/update/
API Endpoint: api/session/event/editor/update/


Description: Calculate all active [[Overlay]], [[Indicator]], [[Panel]] and [[Trigger]] and wait for the update. Note: for long-running calculations use: set_scheduled_update/ to schedule an update.
Description: Calculate all active [[Overlay]]s, [[Indicator]]s, [[Panel]]s and [[Trigger]]s and wait for the update. Note: for long-running calculations use: set_scheduled_update/ to schedule an update.


{|class=wikitable
{|class=wikitable

Latest revision as of 14:43, 2 June 2026

API Endpoint: api/session/event/editor/update/

Description: Calculate all active Overlays, Indicators, Panels and Triggers and wait for the update. Note: for long-running calculations use: set_scheduled_update/ to schedule an update.

Name Importance Type Description Values
0 OPTIONAL (true, false) Reset all X-Queries (optional)

Response Codes

Response Code: Description
200 Boolean (Content was updated)
300-600 Codes Overview

Example POST

Curl example POST:

curl 'https://engine.tygron.com/api/session/event/editor/update/' -H 'Content-Type: application/json' -H 'Authorization: Bearer API_TOKEN' -d ''

JavaScript example POST:

var options = {
 method: "POST",
 headers: { "Content-Type": "application/json", "Authorization": "Bearer API_TOKEN" },
 body: ''
};
fetch("https://engine.tygron.com/api/session/event/editor/update/", options)
 .then(response => response.text())
 .then(result => console.log(result))
 .catch(error => console.log('error', error));