Api session event editor area generate border areas

From Tygron Support wiki
Revision as of 09:39, 10 April 2026 by Frank@tygron.nl (talk | contribs)
Jump to navigation Jump to search

API Endpoint to Generate Border Area.

API Endpoint name is Api session event editor area generate border areas

Name Importance Type Description Values
0 REQUIRED (String) String
1 REQUIRED (String) String
2 REQUIRED (Floating point number) Double

Response Codes

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

Example POST

Curl Example POST:

curl 'https://engine.tygron.com/api/session/event/editorarea/generate_border_areas/' -H 'Content-Type: application/json' -H 'Authorization: Bearer API_TOKEN' -d '[ "Text", "Text", 16 ]'

Curl Example multi item POST:

curl 'https://engine.tygron.com/api/session/event/editorarea/generate_border_areas/' -H 'Content-Type: application/json' -H 'Authorization: Bearer API_TOKEN' -d '[ "Text", "Text", 21 ]'

JavaScript Example POST:

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