Api session event editor stakeholder: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
Api session event editor stakeholder Endpoints.
<noinclude lang="text" copy>API Endpoint: api/session/event/editorstakeholder/
 
</noinclude><noinclude lang="text" copy>
API End[[#Api Model Point|Point]]s for [[Stakeholder]] editing.
API Endpoints for [[Stakeholder]] editing.
{|class=wikitable
</noinclude>{|class=wikitable
!Name
!Name
!Description
!Description
|-
|-
|[[Api session event editor stakeholder add|add]]
| [[Api session event editor stakeholder add|add]]
|Add new [[Stakeholder]]
| Add a new [[Stakeholder]]
|-
|-
|[[Api session event editor stakeholder duplicate|duplicate]]
| [[Api session event editor stakeholder duplicate|duplicate]]
|Duplicate existing [[Stakeholder]]
| Duplicate existing [[Stakeholder]]
|-
|-
|[[Api session event editor stakeholder remove|remove]]
| [[Api session event editor stakeholder remove|remove]]
|Remove existing [[Stakeholder]]
| Remove existing [[Stakeholder]]
|-
|-
|[[Api session event editor stakeholder set active|set_active]]
| [[Api session event editor stakeholder set active|set_active]]
|Set [[Stakeholder]] active
| Set whether a [[Stakeholder]] is an active participant of a [[Session]]
|-
|-
|[[Api session event editor stakeholder set color|set_color]]
| [[Api session event editor stakeholder set color|set_color]]
|Set new color of existing [[Stakeholder]]
| Set the Color of a [[Stakeholder]]
|-
|-
|[[Api session event editor stakeholder set name|set_name]]
| [[Api session event editor stakeholder set name|set_name]]
|Set new name of existing [[Stakeholder]]
| Set the name of a [[Stakeholder]]
|}
|}
 
<noinclude lang="text" copy>
Additional API End[[#Api Model Point|Point]]s:
Additional API Endpoints:
{|class=wikitable
</noinclude>{|class=wikitable
!Name
!Name
!Description
!Description
|-
|-
|[[Api session event editor stakeholder add land ownership|add_land_ownership]]
| [[Api session event editor stakeholder add land ownership|add_land_ownership]]
|Add Land Ownership
| Assign land to a particular [[Stakeholder]]
|-
|-
|[[Api session event editor stakeholder add with type and active|add_with_type_and_active]]
| [[Api session event editor stakeholder add with type and active|add_with_type_and_active]]
|Add With Type And Active
| Add a new (active) [[Stakeholder]]
|-
|-
|[[Api session event editor stakeholder reset web token|reset_web_token]]
| [[Api session event editor stakeholder select stakeholder|select_stakeholder]]
|Reset Web Token
| Select [[Stakeholder]] using the preferred ID; if unavailable, fall back to the next best option
|-
|-
|[[Api session event editor stakeholder reset web token with length|reset_web_token_with_length]]
| [[Api session event editor stakeholder set image|set_image]]
|Reset Web Token With Length
| Set the image of a [[Stakeholder]]
|-
|-
|[[Api session event editor stakeholder select stakeholder|select_stakeholder]]
| [[Api session event editor stakeholder set short name|set_short_name]]
|Select [[Stakeholder]] with preferred ID, when not available fallback to next best.
| Set the short name of a [[Stakeholder]]
|-
|-
|[[Api session event editor stakeholder set image|set_image]]
| [[Api session event editor stakeholder set start budget|set_start_budget]]
|Set Image
| Set the start budget of a [[Stakeholder]]
|-
|-
|[[Api session event editor stakeholder set short name|set_short_name]]
| [[Api session event editor stakeholder set type|set_type]]
|Set Short Name
| Set the type of a [[Stakeholder]]
|-
|-
|[[Api session event editor stakeholder set start budget|set_start_budget]]
| [[Api session event editor stakeholder transfer ownership|transfer_ownership]]
|Set Start Budget
| Transfer the ownership of [[Building]]s and [[Plot]]s from one [[Stakeholder]] to an other [[Stakeholder]]. Optionally include [[Zone]]s
|-
|-
|[[Api session event editor stakeholder set type|set_type]]
| [[Web token|reset_web_token]]
|Set Type
| Reset the Web Token of a [[Stakeholder]] and generate a new one with a default length
|-
|-
|[[Api session event editor stakeholder transfer ownership|transfer_ownership]]
| [[Web token with length|reset_web_token_with_length]]
|Transfer Ownership
| Reset the Web Token of a [[Stakeholder]] and generate new one with a particular length
|}
|}
{{article end|seealso=*[[Api Events]]
<noinclude lang="text" copy>{{article end|seealso=*[[Api Session Endpoints]]
*[[Api session items stakeholders]]
*[[Api session items stakeholders]]
}}
}}
 
</noinclude>
[[Category:API]]
[[Category:API]]

Latest revision as of 10:27, 13 November 2026

API Endpoint: api/session/event/editorstakeholder/

API Endpoints for Stakeholder editing.

Name Description
add Add a new Stakeholder
duplicate Duplicate existing Stakeholder
remove Remove existing Stakeholder
set_active Set whether a Stakeholder is an active participant of a Session
set_color Set the Color of a Stakeholder
set_name Set the name of a Stakeholder

Additional API Endpoints:

Name Description
add_land_ownership Assign land to a particular Stakeholder
add_with_type_and_active Add a new (active) Stakeholder
select_stakeholder Select Stakeholder using the preferred ID; if unavailable, fall back to the next best option
set_image Set the image of a Stakeholder
set_short_name Set the short name of a Stakeholder
set_start_budget Set the start budget of a Stakeholder
set_type Set the type of a Stakeholder
transfer_ownership Transfer the ownership of Buildings and Plots from one Stakeholder to an other Stakeholder. Optionally include Zones
reset_web_token Reset the Web Token of a Stakeholder and generate a new one with a default length
reset_web_token_with_length Reset the Web Token of a Stakeholder and generate new one with a particular length