Add data validation
- projectId
- projects/43
- assigneeUserId
-
Perry Kerluke @perry_kerluke83
- title
- Add data validation
- description
- Socius atque aequitas cresco.
- status
- blocked
- priority
- normal
- dueDate
- —
- createdAt
- updatedAt
Overview
tasks / #357
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tasks/357" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tasks/357" ); 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/357"
);
const task = (await res.json()) as Task; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tasks/357"
)
task = res.json() Response
{
"id": 357,
"projectId": 43,
"assigneeUserId": 174,
"title": "Add data validation",
"description": "Socius atque aequitas cresco.",
"status": "blocked",
"priority": "normal",
"dueDate": null,
"createdAt": "2026-01-05T16:33:53.816Z",
"updatedAt": "2026-01-18T14:17:44.767Z"
}