TaskFetch
TaskFetch
Section titled “TaskFetch”Get a single Task by slug
Endpoint: /api/taskfetch
Tags: Tasks
API Details
POST /api/taskfetch
Request
Section titled “Request”schema: z.object({ series: z.object({ success: Bool(), result: z.object({ task: Task, }), }), }),Responses
Section titled “Responses”Status Code: 200
Section titled “Status Code: 200”Returns a single task if found
schema: z.object({ series: z.object({ success: Bool(), result: z.object({ task: Task, }),Status Code: 404
Section titled “Status Code: 404”Task not found
schema: z.object({ series: z.object({ success: Bool(), error: Str(), }),