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 session event editor scenario Endpoints.


API Endpoints for [[Scenario]] editing.
API End[[#Api Model Point|Point]]s for [[Scenario]] editing.
{|class=wikitable
{|class=wikitable
!Name
!Name
Line 10: Line 10:
|-
|-
|[[Api session event editor scenario append attribute|append_attribute]]
|[[Api session event editor scenario append attribute|append_attribute]]
|Appended to existing [[Scenario]] attribute value
|Appended to existing [[Scenario]] [[Attribute]] value
|-
|-
|[[Api session event editor scenario duplicate|duplicate]]
|[[Api session event editor scenario duplicate|duplicate]]
Line 19: Line 19:
|-
|-
|[[Api session event editor scenario remove attribute|remove_attribute]]
|[[Api session event editor scenario remove attribute|remove_attribute]]
|Remove attribute from [[Scenario]]
|Remove [[Attribute]] from [[Scenario]]
|-
|-
|[[Api session event editor scenario set active|set_active]]
|[[Api session event editor scenario set active|set_active]]
Line 25: Line 25:
|-
|-
|[[Api session event editor scenario set attribute|set_attribute]]
|[[Api session event editor scenario set attribute|set_attribute]]
|Set [[Scenario]] attribute value
|Set [[Scenario]] [[Attribute]] value
|-
|-
|[[Api session event editor scenario set attributes|set_attributes]]
|[[Api session event editor scenario set attributes|set_attributes]]
|Set multiple [[Scenario]] attribute values
|Set multiple [[Scenario]] [[Attribute]] values
|-
|-
|[[Api session event editor scenario set name|set_name]]
|[[Api session event editor scenario set name|set_name]]
Line 34: Line 34:
|}
|}


Additional API Endpoints:
Additional API End[[#Api Model Point|Point]]s:
{|class=wikitable
{|class=wikitable
!Name
!Name
Line 64: Line 64:
|-
|-
|[[Api session event editor scenario set limit neighborhoods|set_limit_neighborhoods]]
|[[Api session event editor scenario set limit neighborhoods|set_limit_neighborhoods]]
|Set Limit [[Neighborhood]]
|Set Limit [[Neighborhood]]s
|-
|-
|[[Api session event editor scenario set limit type|set_limit_type]]
|[[Api session event editor scenario set limit type|set_limit_type]]

Revision as of 14:47, 2 June 2026

Api session event editor scenario Endpoints.

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.