eclipse-theia / eclipse-theia/theia-cloud

API endpoint to list sessions should include session URL

Open
#377 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
99
Forks
49
Avg merge
2h 33m
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the API interface and endpoint that lists running sessions for an authenticated user, then trace the session response model to where instance URLs are available. Done means each listed session exposes its instance URL so clients can redirect users to resume it; verify the endpoint response and its existing tests if present.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.