Add New Dm
Add a new user of the role Decision Maker to the database. Requires no login.
Args: form_data (Annotated[OAuth2PasswordRequestForm, Depends()]): The user credentials to add to the database. session (Annotated[Session, Depends(get_session)]): the database session.
Returns: JSONResponse: A JSON response
Raises: HTTPException: if username is already in use or if saving to the database fails for some reason.
Response
Successful Response
Changes
Changed in 2 of the 2 revisions of this API.11
- ○
endpoint added
endpoint-added
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 103 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲