Toaster Robot Software 1.3 API Documentation

API Endpoints

GET /users

/users

This endpoint returns a list of all users in the system.

GET /users/{username}

/users/{username}

This endpoint returns information about a specific user.

POST /users

/users

This endpoint creates a new user in the system.

Data Types

User


{
    "id": 1,
    "username": "john.doe",
    "email": "johndoe@example.com"
}

Error Codes

401 Unauthorized

You do not have access to this resource.

500 Internal Server Error

An internal server error occurred.