example-data.com
Menu
Browse docs and collections

Overview

tasks / #670

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 670,
  "projectId": 80,
  "assigneeUserId": 145,
  "title": "Remove unit tests",
  "description": "Bellum sum admoneo trepide.",
  "status": "done",
  "priority": "normal",
  "dueDate": null,
  "createdAt": "2025-10-18T22:03:18.113Z",
  "updatedAt": "2026-05-09T09:36:51.076Z"
}