properties. The name is required when creating a session; the other fields are optional.
group, specifying whether the
idis a skylight group’s id or a skylight user’s id.
session.createcall (which will then append the user that called the script as well) or
skylight.session.updatemethod. See Scripting API Reference for details.
skylight.session.data. See Scripting API Reference for details.
skylight.session.addParticipantonce the session has been set, or by using the Skylight API/SDK.
skylight.session.updateonce the session has been set. In the Skylight API/SDK, the properties object can similarly be passed into the session update method.
skylight.session.saveData. These methods will act as a patch for the session data, only updating the specified fields and not overwriting the rest of the session data. There is currently no way to delete a session data key, though they can have null values.
skylight.session.closeonce the session has been set, or by using the API/SDK. Once a session has been closed, all updates to the session and the session data will be restricted.