Refactor API endpoint
- projectId
- projects/64
- assigneeUserId
- —
- title
- Refactor API endpoint
- description
- Cumque campana talio hic quasi vado turbo occaecati laborum.
- status
- done
- priority
- normal
- dueDate
- 2026-08-06
- createdAt
- updatedAt
Overview
tasks / #519
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tasks/519" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tasks/519" ); 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/519"
);
const task = (await res.json()) as Task; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tasks/519"
)
task = res.json() Response
{
"id": 519,
"projectId": 64,
"assigneeUserId": null,
"title": "Refactor API endpoint",
"description": "Cumque campana talio hic quasi vado turbo occaecati laborum.",
"status": "done",
"priority": "normal",
"dueDate": "2026-08-06",
"createdAt": "2025-08-23T10:31:14.855Z",
"updatedAt": "2025-12-16T15:15:24.017Z"
}