Api session event editor specialeffect set location: Difference between revisions
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 |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
|REQUIRED | |REQUIRED | ||
|(SPECIAL_EFFECT Integer ID) | |(SPECIAL_EFFECT Integer ID) | ||
|[[Special Effect]] | |[[Special Effect]] | ||
| | | | ||
|- | |- | ||
| Line 31: | Line 31: | ||
|} | |} | ||
===Example POST=== | ===Example POST=== | ||
Example POST: https://engine.tygron.com/api/session/event/editorspecialeffect/set_location/?crs=3857&f= | Example POST: https://engine.tygron.com/api/session/event/editorspecialeffect/set_location/?crs=3857&f=JSON&token=API_TOKEN | ||
with content: | with content: | ||
<pre>[ | <pre>[ 88, { | ||
"type" : "Point", | "type" : "Point", | ||
"coordinates" : [ | "coordinates" : [ 658754.3363116372, 6799422.0499995 ] | ||
} ] | } ] | ||
</pre> | </pre> | ||
{{article end|seealso=*[[ | {{article end|seealso=*[[Api session event editor specialeffect]] | ||
*[[Api session items specialeffects]] | |||
}} | |||
[[Category:API]] | [[Category:API]] | ||
Latest revision as of 12:14, 1 April 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=JSON&token=API_TOKEN
with content:
[ 88, {
"type" : "Point",
"coordinates" : [ 658754.3363116372, 6799422.0499995 ]
} ]