example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 8 of 31.

Overview

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/tasks?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/tasks?limit=25"
);
const { data, meta } = 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, ListEnvelope } from "./types/tasks";

const res = await fetch(
  "https://example-data.com/api/v1/tasks?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Task>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/tasks",
    params={"limit": 25},
)
data = res.json()

Response

{
  "data": [
    {
      "id": 169,
      "projectId": 22,
      "assigneeUserId": 147,
      "title": "Refactor logging",
      "description": "Peccatus speciosus calcar.",
      "status": "blocked",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2025-10-28T18:26:51.005Z",
      "updatedAt": "2025-11-16T20:36:52.981Z"
    },
    {
      "id": 170,
      "projectId": 22,
      "assigneeUserId": 106,
      "title": "Review email notifications",
      "description": "Ambulo curto clarus ut pariatur arma tersus vobis tempus harum.",
      "status": "todo",
      "priority": "normal",
      "dueDate": "2026-06-10",
      "createdAt": "2025-06-04T12:32:38.716Z",
      "updatedAt": "2025-10-31T00:04:38.429Z"
    },
    {
      "id": 171,
      "projectId": 22,
      "assigneeUserId": 84,
      "title": "Add caching layer",
      "description": "Vinculum cervus sustineo nobis caelestis sapiente acidus aeger.",
      "status": "todo",
      "priority": "urgent",
      "dueDate": null,
      "createdAt": "2026-02-04T22:24:57.251Z",
      "updatedAt": "2026-05-18T14:51:37.395Z"
    }
  ],
  "meta": {
    "page": 8,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=8&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=9&limit=24",
    "prev": "/api/v1/tasks?page=7&limit=24"
  }
}