Api session event editor scenario set active: Difference between revisions
Jump to navigation
Jump to search
Created page with "API Event to Activate Scenario, when testrun is active the Scenerio can restart it. {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(SCENARIO Integer ID) |Scenario ID | |} ===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/editorscenario/set_active/?f=HTML&token=API_TOKEN with content: <..." |
No edit summary |
||
| Line 25: | Line 25: | ||
|} | |} | ||
===Example POST=== | ===Example POST=== | ||
Example POST: https://engine.tygron.com/api/session/event/editorscenario/set_active/?f= | Example POST: https://engine.tygron.com/api/session/event/editorscenario/set_active/?f=JSON&token=API_TOKEN | ||
with content: | with content: | ||
<pre>[ | <pre>[ 10 ] | ||
</pre> | </pre> | ||
{{article end|seealso=*[[api session event editor scenario]]}} | {{article end|seealso=*[[api session event editor scenario]]}} | ||
[[Category:API]] | [[Category:API]] | ||
Revision as of 08:21, 1 April 2026
API Event to Activate Scenario, when testrun is active the Scenerio can restart it.
| Name | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (SCENARIO Integer ID) | Scenario ID |
Response Codes
| Response Code: | Description |
|---|---|
| 204 | No Content |
| 300-600 | Codes Overview |
Example POST
Example POST: https://engine.tygron.com/api/session/event/editorscenario/set_active/?f=JSON&token=API_TOKEN
with content:
[ 10 ]