POST /utils/signup
Create new user without the need to be logged in.
Registers a new user account in the system without requiring authentication.
Endpoint
POST /utils/signup
Parameters
| Name | Type | Description |
|---|---|---|
| session | SessionDep | The database session dependency used for persistence operations. |
| user_in | UserRegister | The registration data provided by the user, including email and password. |
Request Body
| Field | Type | Description |
|---|---|---|
string | The email address for the new account, used as a unique identifier. | |
| password | string | The password for the new account. |
Response
| Status | Description |
|---|---|
| 200 | The user was successfully created. Returns UserPublic. |
| 400 | Returned when a user with the provided email address already exists. Returns JSON. |