tasks / #2
- projectId
- projects/1
- assigneeUserId
- 182
- title
- Remove error handling
- description
- Cogo minima spiritus desino.
- status
- in_progress
- priority
- high
- dueDate
- —
- createdAt
- updatedAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/tasks/2" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/tasks/2"
);
const task = await res.json();import type { Task } from "https://example-data.com/types/tasks.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/tasks/2"
);
const task = (await res.json()) as Task;import requests
res = requests.get(
"https://example-data.com/api/v1/tasks/2"
)
task = res.json() {
"id": 2,
"projectId": 1,
"assigneeUserId": 182,
"title": "Remove error handling",
"description": "Cogo minima spiritus desino.",
"status": "in_progress",
"priority": "high",
"dueDate": null,
"createdAt": "2026-03-12T15:43:22.062Z",
"updatedAt": "2026-03-31T00:07:47.827Z"
}