example-data.com
Menu
Browse docs and collections

Overview

tasks / #84

Document pagination

projectId
projects/12
assigneeUserId
Gavin Lowe @gavin_lowe
title
Document pagination
description
Tandem coerceo tenax vitium demergo adopto.
status
todo
priority
normal
dueDate
2026-07-24
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 84,
  "projectId": 12,
  "assigneeUserId": 17,
  "title": "Document pagination",
  "description": "Tandem coerceo tenax vitium demergo adopto.",
  "status": "todo",
  "priority": "normal",
  "dueDate": "2026-07-24",
  "createdAt": "2026-02-15T13:00:48.699Z",
  "updatedAt": "2026-03-17T13:20:08.160Z"
}