example-data.com
Menu
Browse docs and collections

Overview

tasks / #4

Integrate pagination

projectId
projects/1
assigneeUserId
title
Integrate pagination
description
Velociter subiungo campana capto conculco.
status
in_progress
priority
normal
dueDate
createdAt
updatedAt

Component variants

Related

References

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 4,
  "projectId": 1,
  "assigneeUserId": null,
  "title": "Integrate pagination",
  "description": "Velociter subiungo campana capto conculco.",
  "status": "in_progress",
  "priority": "normal",
  "dueDate": null,
  "createdAt": "2025-12-03T14:14:57.700Z",
  "updatedAt": "2025-12-28T01:45:34.159Z"
}