Api session event logic: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
API Endpoint: api/session/event/logic/ | API Endpoint: api/session/event/logic/ | ||
API endpoints for endpoints | API endpoints for endpoints that change [[Function]]ality in a testrun or impact [[Session]]. | ||
{|class=wikitable | {|class=wikitable | ||
!Name | !Name | ||
| Line 19: | Line 19: | ||
|- | |- | ||
| [[Api session event logic area set active|area_set_active]] | | [[Api session event logic area set active|area_set_active]] | ||
| Activate/deactivate | | Activate/deactivate an [[Area]]. | ||
|- | |- | ||
| [[Api session event logic area set attribute|area_set_attribute]] | | [[Api session event logic area set attribute|area_set_attribute]] | ||
| Set [[Area]] [[Attribute]] to | | Set the [[Area]] [[Attribute]] to the specified numeric value. | ||
|- | |- | ||
| [[Api session event logic areas set attributes|areas_set_attributes]] | | [[Api session event logic areas set attributes|areas_set_attributes]] | ||
| Line 28: | Line 28: | ||
|- | |- | ||
| [[Api session event logic building set attribute|building_set_attribute]] | | [[Api session event logic building set attribute|building_set_attribute]] | ||
| Set [[Building]] [[Attribute]] to | | Set the [[Building]] [[Attribute]] to the specified numeric value. | ||
|- | |- | ||
| [[Api session event logic building set attributes|building_set_attributes]] | | [[Api session event logic building set attributes|building_set_attributes]] | ||
| Line 46: | Line 46: | ||
|- | |- | ||
| [[Api session event logic global set value|global_set_value]] | | [[Api session event logic global set value|global_set_value]] | ||
| Set [[Global]] | | Set the [[Global]] variable to the specified numeric value. | ||
|- | |- | ||
| [[Api session event logic global set values|global_set_values]] | | [[Api session event logic global set values|global_set_values]] | ||
| Set [[Global]] | | Set the [[Global]] variable to the specified numeric values. | ||
|- | |- | ||
| [[Api session event logic map direct sell land|map_direct_sell_land]] | | [[Api session event logic map direct sell land|map_direct_sell_land]] | ||
| Direct sale of land | | Direct sale of land without requiring approval. | ||
|- | |- | ||
| [[Api session event logic measurement item add|measurement_item_add]] | | [[Api session event logic measurement item add|measurement_item_add]] | ||
| Add | | Add an [[Item]][[Measurement]] for an [[Overlay]]. | ||
|- | |- | ||
| [[Api session event logic measurement line add|measurement_line_add]] | | [[Api session event logic measurement line add|measurement_line_add]] | ||
| Line 79: | Line 79: | ||
|- | |- | ||
| [[Api session event logic money transfers set approved|money_transfers_set_approved]] | | [[Api session event logic money transfers set approved|money_transfers_set_approved]] | ||
| Approve a [[Money Transfer]] | | Approve a [[Money Transfer]]. | ||
|- | |- | ||
| [[Api session event logic neighborhood set attribute|neighborhood_set_attribute]] | | [[Api session event logic neighborhood set attribute|neighborhood_set_attribute]] | ||
| Line 97: | Line 97: | ||
|- | |- | ||
| [[Api session event logic net clusters set load attributes|net_clusters_set_load_attributes]] | | [[Api session event logic net clusters set load attributes|net_clusters_set_load_attributes]] | ||
| | | Set the provided [[Attribute]] values for each [[Net Load]] within the specified [[Net Cluster]]s. | ||
|- | |- | ||
| [[Api session event logic net clusters set state|net_clusters_set_state]] | | [[Api session event logic net clusters set state|net_clusters_set_state]] | ||
| Line 115: | Line 115: | ||
|- | |- | ||
| [[Api session event logic scenario set attribute|scenario_set_attribute]] | | [[Api session event logic scenario set attribute|scenario_set_attribute]] | ||
| Set [[Scenario]] [[Attribute]] to | | Set the [[Scenario]] [[Attribute]] to the specified numeric value. | ||
|- | |- | ||
| [[Api session event logic search|search]] | | [[Api session event logic search|search]] | ||
| Line 124: | Line 124: | ||
|- | |- | ||
| [[Api session event logic set net setting boolean|set_net_setting_boolean]] | | [[Api session event logic set net setting boolean|set_net_setting_boolean]] | ||
| | | Set a boolean value for the specified [[Net Setting]]. | ||
|- | |- | ||
| [[Api session event logic set traffic multiplier|set_traffic_multiplier]] | | [[Api session event logic set traffic multiplier|set_traffic_multiplier]] | ||
| Multiply visual | | Multiply the visual traffic density by this factor. | ||
|- | |- | ||
| [[Api session event logic special effect set active|special_effect_set_active]] | | [[Api session event logic special effect set active|special_effect_set_active]] | ||
| Line 136: | Line 136: | ||
|- | |- | ||
| [[Api session event logic stakeholder select|stakeholder_select]] | | [[Api session event logic stakeholder select|stakeholder_select]] | ||
| Select [[Stakeholder]] | | Select the preferred [[Stakeholder]] or the next available option if unavailable. | ||
|- | |- | ||
| [[Api session event logic undo last building action|undo_last_building_action]] | | [[Api session event logic undo last building action|undo_last_building_action]] | ||
| Line 148: | Line 148: | ||
|- | |- | ||
| [[Api session event logic zones set attributes|zones_set_attributes]] | | [[Api session event logic zones set attributes|zones_set_attributes]] | ||
| Set [[Attribute]] | | Set [[Attribute]] values for [[Zone]]s. | ||
|} | |} | ||
{{article end|seealso=*[[Api Session Endpoints]] | {{article end|seealso=*[[Api Session Endpoints]] | ||
Latest revision as of 10:00, 13 July 2026
API Endpoint: api/session/event/logic/
API endpoints for endpoints that change Functionality in a testrun or impact Session.
| Name | Description |
|---|---|
| action_log_export | Export history of Actions taken by participants. |
| action_menu_set_function_available | Add or remove a Function from a particular Action Menu. |
| action_menu_set_measure_available | Add or remove a Measure from a particular Action Menu. |
| action_menu_set_upgrade_available | Add or remove an upgrade from a particular Action Menu. |
| area_set_active | Activate/deactivate an Area. |
| area_set_attribute | Set the Area Attribute to the specified numeric value. |
| areas_set_attributes | Per entry in the array, set the value of the Attribute for the Area. |
| building_set_attribute | Set the Building Attribute to the specified numeric value. |
| building_set_attributes | Per entry in the array, set the values of the Attribute for the Building. |
| cinematic_reached_point | Flightpoint reached for a specific Cinematic. |
| cinematic_stakeholder_start | Start a Cinematic for a specific Stakeholder. |
| cinematic_stakeholder_stop | Stop any Cinematic for a specific Stakeholder. |
| dismiss_error | Dismiss Error Log. |
| global_set_value | Set the Global variable to the specified numeric value. |
| global_set_values | Set the Global variable to the specified numeric values. |
| map_direct_sell_land | Direct sale of land without requiring approval. |
| measurement_item_add | Add an ItemMeasurement for an Overlay. |
| measurement_line_add | Add a LineMeasurement for an Overlay for a specific Timeframe. |
| measurement_point_add | Add a PointMeasurement for an Overlay. |
| measurement_remove | Remove a Measurement. |
| measurement_save | Save a Measurement. |
| measurement_set_overlays | Set base Overlays for an existing Measurement. |
| measurement_set_sum | Set a Measurement to add its base Overlays to itself. |
| money_transfer_add | Create a new Money Transfer between two Stakeholders. |
| money_transfers_set_approved | Approve a Money Transfer. |
| neighborhood_set_attribute | Set an Attribute for a Neighborhood. |
| net_cluster_set_fraction_connected | Set the fraction of connected loads with a cluster. |
| net_cluster_set_load_attribute | For each Net Load of a Net Cluster, set the value of the Attribute. |
| net_cluster_set_load_attributes | For each Net Load of a Net Cluster, set the values of the provided Attributes. |
| net_clusters_set_default_fraction_connected | Set the default fraction of connected loads with a cluster. |
| net_clusters_set_load_attributes | Set the provided Attribute values for each Net Load within the specified Net Clusters. |
| net_clusters_set_state | Per Net Cluster, set all its Net Loads of the provided Net Type to the given Timestate. |
| net_line_set_attribute | Set the Attribute of a Net Line to the provided value. |
| net_lines_set_attribute | For each Net Line, set the value of the Attribute. |
| net_lines_set_attributes | Per entry in the array, set the value of the Attribute for the Net Line. |
| scenario_set_active | Activate a level. |
| scenario_set_attribute | Set the Scenario Attribute to the specified numeric value. |
| search | Search for Neighborhood, Building or Address. |
| session_release | Release a client from a Session using its client token. |
| set_net_setting_boolean | Set a boolean value for the specified Net Setting. |
| set_traffic_multiplier | Multiply the visual traffic density by this factor. |
| special_effect_set_active | Activate/deactivate a Special Effect. |
| stakeholder_release | Release a Stakeholder from a Session. |
| stakeholder_select | Select the preferred Stakeholder or the next available option if unavailable. |
| undo_last_building_action | Undo the last Building Action of a Stakeholder. |
| unit_type_set_active | Activate/deactivate units of a specific type. |
| zone_set_attribute | Set an Attribute for a Zone. |
| zones_set_attributes | Set Attribute values for Zones. |