Api session event editor scenario: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Api session event editor scenario Endpoints.
API Endpoint: api/session/event/editorscenario/


API End[[#Api Model Point|Point]]s for [[Scenario]] editing.
API endpoints for [[Scenario]] editing.
{|class=wikitable
{|class=wikitable
!Name
!Name
Line 34: Line 34:
|}
|}


Additional API End[[#Api Model Point|Point]]s:
Additional API endpoints:
{|class=wikitable
{|class=wikitable
!Name
!Name
Line 72: Line 72:
|When true test run is restarted on [[Scenario]] activation. This option will be deprecated in the future and replaced by multiple maps.
|When true test run is restarted on [[Scenario]] activation. This option will be deprecated in the future and replaced by multiple maps.
|}
|}
{{article end|seealso=*[[Api Events]]
{{article end|seealso=*[[Api Session Endpoints]]
*[[Api session items scenarios]]
*[[Api session items scenarios]]
}}
}}


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

Latest revision as of 08:41, 3 June 2026

API Endpoint: api/session/event/editorscenario/

API endpoints for Scenario editing.

Name Description
add Add new Scenario.
append_attribute Appended to existing Scenario Attribute value
duplicate Duplicate existing Scenario
remove Remove existing Scenario
remove_attribute Remove Attribute from Scenario
set_active Activate Scenario, when testrun is active the Scenerio can restart it.
set_attribute Set Scenario Attribute value
set_attributes Set multiple Scenario Attribute values
set_name Set new name of existing Scenario

Additional API endpoints:

Name Description
add_event Add empty dummy event that is Triggered on Scenario activation.
add_measure Add a Measure that is Triggered on Scenario activation.
remove_cinematic Remove Cinematic
remove_event Remove Event
remove_measure Remove Measure
set_cinematic Set Cinematic
set_description Set Description
set_event Set Event
set_limit_neighborhoods Set Limit Neighborhoods
set_limit_type Set Limit Type
set_restart_testrun When true test run is restarted on Scenario activation. This option will be deprecated in the future and replaced by multiple maps.