Select Solver
Changed onAssign a specific solver for a problem.
request: ProblemSelectSolverRequest: The request containing problem id and string representation of the solver user: Annotated[User, Depends(get_current_user): The user that is logged in. session: Annotated[Session, Depends(get_session)]: The database session.
Raises: HTTPException: Unknown solver, unauthorized user
Returns: JSONResponse: A simple confirmation.
post/problem/assign_solver
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
unknown required
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking