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

Feature/SK-845 | As a user I want to continue an existing session #609

Merged
merged 9 commits into from
May 17, 2024

Conversation

niklastheman
Copy link
Contributor

API Update

Two new endpoints added

  • POST /sessions (adds session object to db
  • POST /sessions/start (start session by providing session_id and rounds in body)

/sessions validates the session object but does NOT check if provided model_id exists in db.

/sessions/start checks whether the provided session_id corresponds to an exists session object. It also checks whether that session object is configured with an exists model before starting the session in a separate thread.

@niklastheman niklastheman requested review from ahellander and Wrede May 17, 2024 09:32
@niklastheman niklastheman merged commit a327ddc into master May 17, 2024
11 checks passed
@niklastheman niklastheman deleted the feature/SK-845 branch May 17, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants