Api session event editor source add file: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Event to Add File {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(String) |String | |- |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/add_file/?f=HTML&token=API_TOKEN with content: <pre>[ "Text", "Text" ] </pre> {{article end|seeal..."
 
No edit summary
Line 31: Line 31:
|}
|}
===Example POST===
===Example POST===
Example POST: https://engine.tygron.com/api/session/event/editorsource/add_file/?f=HTML&token=API_TOKEN
Example POST: https://engine.tygron.com/api/session/event/editorsource/add_file/?f=JSON&token=API_TOKEN


with content:  
with content:  

Revision as of 08:22, 1 April 2026

API Event to Add File

Name Importance Type Description Values
0 REQUIRED (String) String
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/add_file/?f=JSON&token=API_TOKEN

with content:

[ "Text", "Text" ]