Comprehensive documentation for all available API endpoints and their usage.
User authentication and authorization endpoints
/api/auth/login
User login endpoint
{ "status": 200, "body": { "token": "string", "user": { "id": "string", "email": "string", "name": "string" } } }
/api/auth/register
User registration endpoint
{ "status": 201, "body": { "message": "User created successfully", "user": { "id": "string", "email": "string", "name": "string" } } }
User profile and settings management
/api/users
Get all users
{ "status": 200, "body": { "users": [ { "id": "string", "email": "string", "name": "string" } ] } }
/api/users/:id
Get user by ID
{ "status": 200, "body": { "user": { "id": "string", "email": "string", "name": "string" } } }