Api session event editor source set url: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Event to Set Url {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(SOURCE Integer ID) |Sources | |- |1 |REQUIRED |(String) |String | |} ===Response Codes=== {|class=wikitable !Response Code: !Description |- |200 |Integer (Integer) |- |300-600 |Codes Overview |} ===Example POST=== Example POST: https://engine.tygron.com/api/session/event/editorsource/set_url/?f=HTML&token=API_TOKEN with content: <pre>[ 57, "Text" ] </pre> {{article..."
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
|REQUIRED
|REQUIRED
|(SOURCE Integer ID)
|(SOURCE Integer ID)
|[[Source]]s
|[[Source]]
|
|
|-
|-
Line 31: Line 31:
|}
|}
===Example POST===
===Example POST===
Example POST: https://engine.tygron.com/api/session/event/editorsource/set_url/?f=HTML&token=API_TOKEN
Example POST: https://engine.tygron.com/api/session/event/editorsource/set_url/?f=JSON&token=API_TOKEN


with content:  
with content:  
<pre>[ 57, "Text" ]
<pre>[ 75, "Text" ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor source]]}}
{{article end|seealso=*[[Api session event editor source]]
*[[Api session items sources]]
}}


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

Latest revision as of 12:14, 1 April 2026

API Event to Set Url

Name Importance Type Description Values
0 REQUIRED (SOURCE Integer ID) Source
1 REQUIRED (String) String

Response Codes

Response Code: Description
200 Integer (Integer)
300-600 Codes Overview

Example POST

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

with content:

[ 75, "Text" ]