Api event io

From Tygron Support wiki
Revision as of 14:42, 20 November 2026 by Server@tygron.com (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.