Api session event editor stakeholder: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
API Endpoint: api/session/event/editorstakeholder/
<noinclude lang="text" copy>API Endpoint: api/session/event/editorstakeholder/
 
</noinclude><noinclude lang="text" copy>
API Endpoints for [[Stakeholder]] editing.
API Endpoints for [[Stakeholder]] editing.
{|class=wikitable
</noinclude>{|class=wikitable
!Name
!Name
!Description
!Description
Line 24: Line 24:
| Set the name of a [[Stakeholder]]
| Set the name of a [[Stakeholder]]
|}
|}
 
<noinclude lang="text" copy>
Additional API Endpoints:
Additional API Endpoints:
{|class=wikitable
</noinclude>{|class=wikitable
!Name
!Name
!Description
!Description
Line 60: Line 60:
| Reset the Web Token of a [[Stakeholder]] and generate new one with a particular length
| Reset the Web Token of a [[Stakeholder]] and generate new one with a particular length
|}
|}
{{article end|seealso=*[[Api Session Endpoints]]
<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