Endpoint
Request
This endpoint does not require a request body. The user ID is automatically generated using UUID v4.In the current implementation, the user ID is generated server-side. In a production environment, this would typically be extracted from authentication tokens (cookies or JWT).
Response
Status message indicating successful user creation
The unique identifier (UUID v4) assigned to the newly created user
Example request
Example response
Error responses
Returns when user creation fails or times out
Implementation details
The user creation process:- Generates a new UUID v4 for the user
- Initializes the user’s balance in the exchange engine
- Returns the user ID upon successful creation
/home/daytona/workspace/source/crates/router/src/routes/user.rs:13