example-data.com
Menu
Browse docs and collections

Overview

tasks / #456

Optimize pagination

projectId
projects/57
assigneeUserId
title
Optimize pagination
description
Voro decet consuasor caveo.
status
done
priority
normal
dueDate
2026-05-06
createdAt
updatedAt

Component variants

Related

References

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 456,
  "projectId": 57,
  "assigneeUserId": null,
  "title": "Optimize pagination",
  "description": "Voro decet consuasor caveo.",
  "status": "done",
  "priority": "normal",
  "dueDate": "2026-05-06",
  "createdAt": "2025-10-11T14:50:03.591Z",
  "updatedAt": "2025-12-19T15:28:56.374Z"
}