example-data.com
Menu
Browse docs and collections

Overview

tasks / #28

Fix pagination

projectId
projects/4
assigneeUserId
title
Fix pagination
description
Eveniet bestia advenio tui amor.
status
in_progress
priority
low
dueDate
createdAt
updatedAt

Component variants

Related

References

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 28,
  "projectId": 4,
  "assigneeUserId": null,
  "title": "Fix pagination",
  "description": "Eveniet bestia advenio tui amor.",
  "status": "in_progress",
  "priority": "low",
  "dueDate": null,
  "createdAt": "2025-12-23T08:05:08.048Z",
  "updatedAt": "2026-02-24T07:00:59.460Z"
}