Api session event editor specialeffect set location: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Event to Set Location {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(SPECIAL_EFFECT Integer ID) |Special Effects | |- |1 |REQUIRED |(Point with crs: EPSG:3857) |Point | |} ===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/editorspecialeffect/set_location/?crs=3857&f=HTML&token=API_TOKEN..."
 
No edit summary
Line 10: Line 10:
|REQUIRED
|REQUIRED
|(SPECIAL_EFFECT Integer ID)
|(SPECIAL_EFFECT Integer ID)
|[[Special Effect]]s
|[[Special Effect]]
|
|
|-
|-
Line 34: Line 34:


with content:  
with content:  
<pre>[ 60, {
<pre>[ 83, {
  "type" : "Point",
  "type" : "Point",
  "coordinates" : [ 658798.1149000468, 6799399.6679211175 ]
  "coordinates" : [ 658677.4838158124, 6799345.328175848 ]
} ]
} ]
</pre>
</pre>

Revision as of 07:55, 31 March 2026

API Event to Set Location

Name Importance Type Description Values
0 REQUIRED (SPECIAL_EFFECT Integer ID) Special Effect
1 REQUIRED (Point with crs: EPSG:3857) Point

Response Codes

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

Example POST

Example POST: https://engine.tygron.com/api/session/event/editorspecialeffect/set_location/?crs=3857&f=HTML&token=API_TOKEN

with content:

[ 83, {
 "type" : "Point",
 "coordinates" : [ 658677.4838158124, 6799345.328175848 ]
} ]