example-data.com
Menu
Browse docs and collections

Overview

tasks / #594

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/tasks/594" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/tasks/594"
);
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/594"
);
const task = (await res.json()) as Task;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/tasks/594"
)
task = res.json()

Response

{
  "id": 594,
  "projectId": 72,
  "assigneeUserId": 143,
  "title": "Refactor webhook handler",
  "description": "Spiculum facere sponte impedit.",
  "status": "todo",
  "priority": "normal",
  "dueDate": "2026-07-29",
  "createdAt": "2025-06-29T21:46:54.422Z",
  "updatedAt": "2026-01-22T08:18:50.605Z"
}