Api session event editor scenario: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Api session event editor scenario Endpoints.
API Endpoint: api/session/event/editorscenario/
 


API endpoints for [[Scenario]] editing.
API endpoints for [[Scenario]] editing.

Revision as of 08:39, 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.