Implement API endpoint
- projectId
- projects/22
- assigneeUserId
- —
- title
- Implement API endpoint
- description
- Veritatis demum explicabo tam.
- status
- todo
- priority
- normal
- dueDate
- —
- createdAt
- updatedAt
Overview
tasks / #164
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tasks/164" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tasks/164" ); const task = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/tasks.d.ts https://example-data.com/types/tasks.d.ts
import type { Task } from "./types/tasks";
const res = await fetch(
"https://example-data.com/api/v1/tasks/164"
);
const task = (await res.json()) as Task; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tasks/164"
)
task = res.json() Response
{
"id": 164,
"projectId": 22,
"assigneeUserId": null,
"title": "Implement API endpoint",
"description": "Veritatis demum explicabo tam.",
"status": "todo",
"priority": "normal",
"dueDate": null,
"createdAt": "2026-02-26T00:29:05.486Z",
"updatedAt": "2026-05-21T20:26:43.390Z"
}