Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API endpoint to list sessions should include session URL #377

Open
iyannsch opened this issue Nov 27, 2024 · 1 comment
Open

API endpoint to list sessions should include session URL #377

iyannsch opened this issue Nov 27, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@iyannsch
Copy link

iyannsch commented Nov 27, 2024

Is your feature request related to a problem? Please describe.

We wanted to fetch the list of (running) sessions for an authenticated user in order to read the session's instance URLs. After having looked at the docs and interfaces, we found out the it's possible to get a list of running sessions, but they do not expose the instance URL as part of the response. Without that information, we cannot show a list of running sessions on the landing page or implement re-connect logic to ephemeral sessions

Describe the solution you'd like

Include the instance's URL in the list of running sessions per user so that we can redirect the user to this URL in order to resume the running session.

Describe alternatives you've considered

We currently use persistent sessions with a predictable naming scheme to circumvent the issue.

Cluster provider

No response

Additional information

No response

@iyannsch iyannsch added the enhancement New feature or request label Nov 27, 2024
@lucas-koehler
Copy link
Contributor

Thanks for the issue :)
The session URL is currently part of the Session object's status. This is currently not returned. It makes sense to adapt this to also return the session URL and potentially other status fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants