This section contains the API documentation for your project.
Here you can document your APIs, including endpoints, parameters, and responses.
Describe how to authenticate with your API:
curl -H "Authorization: Bearer YOUR_TOKEN" \
https://api.example.com/v1/users
Retrieve a list of users.
Parameters:
limit (number, optional): Maximum number of users to returnoffset (number, optional): Number of users to skipResponse:
{
"users": [
{
"id": 1,
"name": "John Doe",
"email": "john@example.com"
}
],
"total": 100
}
Create a new user.
Request Body:
{
"name": "Jane Doe",
"email": "jane@example.com"
}
Response:
{
"id": 2,
"name": "Jane Doe",
"email": "jane@example.com",
"created_at": "2023-01-01T00:00:00Z"
}