v1

latestOpenAPI 3.1.02026-07-17497.7 KB
Users

Create a new user

post/api/users

Request body

usernamestring required

Desired username (must be unique)

passwordstring required

Plain text password (will be bcrypt-hashed)

Example request

{
  "username": "jdoe",
  "password": "securePass123"
}

Response

User created successfully

successboolean

Indicates whether the request was successful

codeinteger

HTTP status code

messagestring

Human-readable status message

request_idstring nullable

Unique request identifier for tracing

timestampstring date-time

ISO 8601 response timestamp

errorobject nullable
errorsobject[] nullable

Example response

{
  "message": "User created",
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "username": "jdoe",
    "password": "$2b$12$..."
  }
}