example-data.com
Menu
Browse docs and collections

Overview

tasks / #677

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 677,
  "projectId": 81,
  "assigneeUserId": 62,
  "title": "Add logging",
  "description": "Paens tertius tendo celo crinis depereo aequitas fugiat claudeo.",
  "status": "in_review",
  "priority": "normal",
  "dueDate": null,
  "createdAt": "2025-07-02T19:16:09.604Z",
  "updatedAt": "2025-12-13T18:50:24.171Z"
}