example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 25 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": 577,
      "projectId": 71,
      "assigneeUserId": null,
      "title": "Optimize logging",
      "description": "Aqua amita corporis virtus curiositas ulterius.",
      "status": "in_progress",
      "priority": "normal",
      "dueDate": "2026-07-16",
      "createdAt": "2026-02-09T03:57:44.557Z",
      "updatedAt": "2026-04-04T00:04:59.618Z"
    },
    {
      "id": 578,
      "projectId": 71,
      "assigneeUserId": 48,
      "title": "Remove user authentication",
      "description": "Appello creta compono utrum pectus velum capitulus argumentum adeo.",
      "status": "done",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2025-08-12T22:33:55.008Z",
      "updatedAt": "2026-02-03T05:08:19.942Z"
    },
    {
      "id": 579,
      "projectId": 71,
      "assigneeUserId": 167,
      "title": "Integrate data export",
      "description": "Auditor tempora adopto centum calamitas maxime vereor aegrotatio vestigium.",
      "status": "in_review",
      "priority": "normal",
      "dueDate": "2026-06-27",
      "createdAt": "2026-05-01T07:09:13.880Z",
      "updatedAt": "2026-05-13T19:37:20.975Z"
    }
  ],
  "meta": {
    "page": 25,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=25&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=26&limit=24",
    "prev": "/api/v1/tasks?page=24&limit=24"
  }
}