example-data.com
Menu
Browse docs and collections

Overview

tasks / #222

Document data export

projectId
projects/28
assigneeUserId
Porter Dooley @porter.dooley
title
Document data export
description
Vis accusator soluta.
status
todo
priority
low
dueDate
2026-07-11
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 222,
  "projectId": 28,
  "assigneeUserId": 135,
  "title": "Document data export",
  "description": "Vis accusator soluta.",
  "status": "todo",
  "priority": "low",
  "dueDate": "2026-07-11",
  "createdAt": "2025-11-25T00:12:13.371Z",
  "updatedAt": "2025-12-09T16:00:11.775Z"
}