Endpoint
Retrieves a specific task by its ID
Request
Path Parameters
The unique identifier of the task to retrieve
Example Request
Response
The requested task object
Status Codes
Successfully retrieved the task
Task with the specified ID does not exist
Invalid ID parameter (must be a valid number)
Example Responses
Implementation Details
This endpoint is defined insrc/routes/tasks/tasks.routes.ts:45-66 and implemented in src/routes/tasks/tasks.handlers.ts:24-42.
The endpoint validates the ID parameter using IdParamsSchema from the stoker library, queries the database for a matching task, and returns a 404 error if no task is found with the specified ID.