Create a new session API client.
The options used to create the client.
Get a session model.
The id of the session of interest.
A promise that resolves with the session model.
Uses the Jupyter Server API and validates the response model.
The promise is fulfilled on a valid response and rejected otherwise.
List the running sessions.
A promise that resolves with the list of running session models.
Uses the Jupyter Server API and validates the response model.
The promise is fulfilled on a valid response and rejected otherwise.
Shut down a session by id.
The id of the session to shut down.
A promise that resolves when the session is shut down.
Uses the Jupyter Server API and validates the response model.
The promise is fulfilled on a valid response and rejected otherwise.
Create a new session.
The options used to create the session.
A promise that resolves with the session model.
Uses the Jupyter Server API and validates the response model.
The promise is fulfilled on a valid response and rejected otherwise.
Update a session by id.
A promise that resolves with the updated session model.
Uses the Jupyter Server API and validates the response model.
The promise is fulfilled on a valid response and rejected otherwise.
The session API client.
Notes
Use this class to interact with the Jupyter Server Session API. This class adheres to the Jupyter Server API endpoints.