Api session event editor scenario: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
API Endpoint: api/session/event/editorscenario/ | <noinclude lang="text" copy>API Endpoint: api/session/event/editorscenario/ | ||
</noinclude> | |||
API Endpoints for [[Scenario]] editing. | API Endpoints for [[Scenario]] editing. | ||
{|class=wikitable | {|class=wikitable | ||
Revision as of 10:23, 13 November 2026
API Endpoint: api/session/event/editorscenario/
API Endpoints for Scenario editing.
| Name | Description |
|---|---|
| add | Add new Scenario |
| append_attribute | Appended to existing Scenario numeric Attribute value |
| duplicate | Duplicate existing Scenario |
| remove | Remove existing Scenario |
| remove_attribute | Remove numeric Attribute from Scenario |
| set_active | Activate Scenario. If a test run is active, the Scenario can restart it |
| set_attribute | Set Scenario numeric Attribute value |
| set_attributes | Set multiple Scenario numeric Attribute values |
| set_name | Set the name of a Scenario |
Additional API Endpoints:
| Name | Description |
|---|---|
| add_event | Add a new Coded Event that is Triggered on Scenario activation |
| add_measure | Add a Measure that is Triggered on Scenario activation |
| remove_cinematic | Remove the starting Cinematic of a Stakeholder for a Scenario |
| remove_event | Remove a Coded Event from a Scenario |
| remove_measure | Remove the activated Measure of a Scenario |
| set_cinematic | Set the starting Cinematic of a Stakeholder for a Scenario |
| set_description | Set the description of a Scenario |
| set_event | Replace the Coded Event of a Scenario |
| set_limit_neighborhoods | Set the Neighborhoods a Scenario is limited to |
| set_limit_type | Set the spatial limitation of a Scenario |
| set_restart_testrun | If true, the test run is restarted on Scenario activation. Deprecated in favor of multiple maps |