Api session event editor global set query: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Event to Set Query {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(GLOBAL Integer ID) |Globals | |- |1 |REQUIRED |(String) |String | |} ===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/editorglobal/set_query/?f=HTML&token=API_TOKEN with content: <pre>[ 27, "Text" ] </pre> {{article en..."
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 10: Line 10:
|REQUIRED
|REQUIRED
|(GLOBAL Integer ID)
|(GLOBAL Integer ID)
|[[Global]]s
|[[Global]]
|
|
|-
|-
Line 31: Line 31:
|}
|}
===Example POST===
===Example POST===
Example POST: https://engine.tygron.com/api/session/event/editorglobal/set_query/?f=HTML&token=API_TOKEN
Example POST: https://engine.tygron.com/api/session/event/editorglobal/set_query/?f=JSON&token=API_TOKEN


with content:  
with content:  
<pre>[ 27, "Text" ]
<pre>[ 62, "Text" ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor global]]}}
{{article end|seealso=*[[Api session event editor global]]
*[[Api session items globals]]
}}


[[Category:API]]
[[Category:API]]

Latest revision as of 12:06, 1 April 2026

API Event to Set Query

Name Importance Type Description Values
0 REQUIRED (GLOBAL Integer ID) Global
1 REQUIRED (String) String

Response Codes

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

Example POST

Example POST: https://engine.tygron.com/api/session/event/editorglobal/set_query/?f=JSON&token=API_TOKEN

with content:

[ 62, "Text" ]