Api session event editor update: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
!Values | !Values | ||
|- | |- | ||
|0 | | 0 | ||
|OPTIONAL | | OPTIONAL | ||
|(true, false) | | (true, false) | ||
|Reset all X-Queries (optional) | | Reset all X-Queries (optional) | ||
| | | | ||
|} | |} | ||
===Response Codes=== | ===Response Codes=== | ||
| Line 21: | Line 21: | ||
!Description | !Description | ||
|- | |- | ||
|200 | | 200 | ||
|Boolean (Content was updated) | | Boolean (Content was updated) | ||
|- | |- | ||
|300-600 | | 300-600 | ||
|Codes Overview | | Codes Overview | ||
|} | |} | ||
===Example POST=== | ===Example POST=== | ||
Revision as of 11:37, 8 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));