Optimize data validation
- projectId
- projects/1
- assigneeUserId
- —
- title
- Optimize data validation
- description
- Triumphus stabilis tutis talus terebro vorago sopor terra ventito subito.
- status
- done
- priority
- high
- dueDate
- 2026-07-12
- createdAt
- updatedAt
Overview
tasks / #5
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tasks/5" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tasks/5" ); 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/5"
);
const task = (await res.json()) as Task; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tasks/5"
)
task = res.json() Response
{
"id": 5,
"projectId": 1,
"assigneeUserId": null,
"title": "Optimize data validation",
"description": "Triumphus stabilis tutis talus terebro vorago sopor terra ventito subito.",
"status": "done",
"priority": "high",
"dueDate": "2026-07-12",
"createdAt": "2025-05-24T19:18:52.508Z",
"updatedAt": "2026-05-07T06:46:06.168Z"
}