example-data.com
Menu
Browse docs and collections

Overview

tasks / #189

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 189,
  "projectId": 24,
  "assigneeUserId": 168,
  "title": "Add caching layer",
  "description": "Contabesco sollers compello apud a.",
  "status": "todo",
  "priority": "high",
  "dueDate": null,
  "createdAt": "2026-04-10T17:09:54.003Z",
  "updatedAt": "2026-05-19T14:05:42.959Z"
}