Get Session
Changed onReturn an interactive session with a given id for the current user.
Args: request (GetSessionRequest): a request containing the id of the session. user (Annotated[User, Depends): the current user. session (Annotated[Session, Depends): the database session.
Raises: HTTPException: could not find an interactive session with the given id for the current user.
Returns: InteractiveSessionInfo: info on the requested interactive session.
post/session/get
Request
- The document declares no server URL.
- Auth
- OAuth 2PasswordToken URLlogin
- or API key in cookie access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
- info
the endpoint scheme security
APIKeyCookiewas added to the API
- info
- info
the endpoint scheme security
APIKeyCookiewas removed from the API
- info