example-data.com
Menu
Browse docs and collections

Overview

tasks / #531

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 531,
  "projectId": 65,
  "assigneeUserId": 36,
  "title": "Configure file uploads",
  "description": "Cursim terminatio convoco vinitor.",
  "status": "todo",
  "priority": "urgent",
  "dueDate": null,
  "createdAt": "2026-04-11T18:29:01.020Z",
  "updatedAt": "2026-05-15T05:52:47.224Z"
}