Api event io: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Server@tygron.com (talk | contribs)
Created page with "<noinclude lang="text" copy>API Endpoint: api/event/io/ </noinclude><noinclude lang="text" copy> Endpoints related to Project & Session management (start, close, etc). </noinclude>{|class=wikitable !Name !Description |- | add_project | Create a new Project with a given name and language. Returns the new Project's data. |- | add_project_version | Create a new version for this Project. |- | Api event i..."
 
Server@tygron.com (talk | contribs)
No edit summary
 
Line 113: Line 113:
| [[Api event io validate project name|validate_project_name]]
| [[Api event io validate project name|validate_project_name]]
| Validate that a given string would be a valid Project file name. Returns an empty string if the Project name is valid and not in use. Otherwise it returns the reason why it is not valid.
| Validate that a given string would be a valid Project file name. Returns an empty string if the Project name is valid and not in use. Otherwise it returns the reason why it is not valid.
|-
| [[Api event io get domain message|get_domain_message]]
| Use GET_INTRO_MESSAGE instead for identical result.
|-
| [[Api event io get domain sessions|get_domain_sessions]]
| Use GET_[[Session]]S instead for identical result.
|-
| [[Api event io get domain startable projects|get_domain_startable_projects]]
| Use GET_STARTABLE_PROJECTS instead for identical result.
|-
| [[Api event io get domain startable templates|get_domain_startable_templates]]
| Use GET_STARTABLE_TEMPLATES instead for identical result.
|-
| [[Api event io get my joinable sessions|get_my_joinable_sessions]]
| Use GET_JOINABLE_[[Session]]S instead for identical result.
|-
| [[Api event io get my startable projects|get_my_startable_projects]]
| Use GET_STARTABLE_PROJECTS instead and filter on owner.
|-
| [[Api event io get project data|get_project_data]]
| Use GET_PROJECT instead for identical result.
|-
| [[Api event io get visible domain projects|get_visible_domain_projects]]
| Use GET_DOMAIN_PROJECTS instead for identical result.
|-
| [[Api event io remove sub domain|remove_sub_domain]]
| Delete a Sub Domain.
|-
| [[Api event io trash project|trash_project]]
| Use SET_PROJECT_TRASHED
|}
|}
<noinclude lang="text" copy>{{article end|seealso=*[[Api Session Endpoints]]
<noinclude lang="text" copy>{{article end|seealso=*[[Api Session Endpoints]]

Latest revision as of 14:42, 20 November 2026

API Endpoint: api/event/io/

Endpoints related to Project & Session management (start, close, etc).

Name Description
add_project Create a new Project with a given name and language. Returns the new Project's data.
add_project_version Create a new version for this Project.
close Disconnect the Application from a running Session, optionally closing it if this was the last connected application.
get_continuable_sessions Get all Sessions that you can continue, given your token pairs.
get_domain_projects Get all Domain Projects that you are allowed to manage.
get_domain_usage Get the License usage for a given domain.
get_intro_message Get the Domain messages. This usually lists the most recent Session starts in that domain.
get_joinable_sessions Get all Sessions in your Domain that you can join.
get_project Get the meta data of a specific Project.
get_project_saved_sessions Get all saved Domain Sessions for a specified Project.
get_server_time Get the current server Time in milliseconds, useful for synchronizing client-server clocks.
get_session_keep_alive Returns whether the Session identified by the Session ID is set to Keep Alive. Value can also be found in Setting KEEP_ALIVE.
get_sessions Get all active Sessions in my Domain.
get_startable_projects Get all Projects in the Domain which can start a Session.
get_startable_templates Get all Projects in the Domain which can be used as a template.
join Join a currently running Session
kill Kill without saving a running Session.
load_saved_session Loads a previously saved SINGLE or MULTI Session.
remove_project_version Delete an inactive version of a Project currently running in an EDITOR Session.
save_project Save the current state of an EDITOR Session as the current version of the running Project, updating its initial state for future Sessions.
save_project_as Save the current state of an EDITOR Session as a new Project. This sets the initial state for future Sessions; the current Session continues using the new Project.
save_session Save the current state of a SINGLE or MULTI Session. This does not change Project data and allows reloading the Session state later.
set_project_active_version Set which version of a Project is the currently active version. A Project cannot be running when the version is changed.
set_project_archived Mark project as archived.
set_project_disclaimer Change the disclaimer text when using the Project as a Template.
set_project_language Set whether a specific language is available for a Project.
set_project_name Change the name of a Project.
set_project_owner Change the owner of a Project.
set_project_permission Set an access permission of a specified type for a Project.
set_project_sub_domain Set a Project to be available to a sub Domain of the Domain the Project is currently in. A Subdomain can only access this Project if this property matches the name of the Subdomain exactly.
set_project_template Set whether a specified Project is a template, marking it as a Project to base other Projects on.
set_project_trashed Mark project as trashed, to be deleted later.
set_project_version_description Set the description of a specified version of a Project.
set_session_keep_alive Enable or disable Keep Alive for a running Session to determine if it persists without connected clients.
start Start a new Session
validate_project_name Validate that a given string would be a valid Project file name. Returns an empty string if the Project name is valid and not in use. Otherwise it returns the reason why it is not valid.