API for managing users, tasks, and authentication in a productivity app.
Authentication
Registers a new user with the provided email, password, and name.
Headers
Request Body
Request body for registering a new user
Responses
User registered successfully
Invalid input
Authentication
Logs in an existing user with the provided email and password.
Headers
Request Body
Request body for logging in a user
Responses
Login successful
Unauthorized
Users
Retrieves the profile of the currently authenticated user.
Security
bearerAuth
Responses
User profile
Unauthorized
Tasks
Retrieves a list of tasks, with optional filtering by status and pagination.
Security
bearerAuth
Query Parameters
Filter tasks by status
Number of tasks to return
Pagination offset
Responses
List of tasks
Unauthorized
Tasks
Creates a new task with the provided title and optional description and due date.
Security
bearerAuth
Headers
Request Body
Request body for creating a new task
Responses
Task created
Invalid input
Tasks
Retrieves a specific task by its ID.
Security
bearerAuth
Path Parameters
The ID of the task to retrieve
Responses
Task details
Task not found
Tasks
Updates an existing task with the provided ID.
Security
bearerAuth
Headers
Path Parameters
The ID of the task to update
Request Body
Request body for updating a task
Responses
Task updated
Invalid input
Task not found
Tasks
Deletes a task with the specified ID.
Security
bearerAuth
Path Parameters
The ID of the task to delete
Responses
Task deleted
Task not found