example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 5 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": 97,
      "projectId": 14,
      "assigneeUserId": null,
      "title": "Document CI pipeline",
      "description": "Illo coniecto animi delectatio vaco.",
      "status": "todo",
      "priority": "urgent",
      "dueDate": null,
      "createdAt": "2025-08-07T20:20:27.522Z",
      "updatedAt": "2025-09-14T22:34:17.090Z"
    },
    {
      "id": 98,
      "projectId": 14,
      "assigneeUserId": 165,
      "title": "Deploy error handling",
      "description": "Appono suffragium succedo condico adaugeo ullam minima coaegresco defleo spoliatio.",
      "status": "todo",
      "priority": "normal",
      "dueDate": "2026-07-23",
      "createdAt": "2025-06-15T06:48:24.829Z",
      "updatedAt": "2025-12-18T05:38:02.023Z"
    },
    {
      "id": 99,
      "projectId": 14,
      "assigneeUserId": 47,
      "title": "Deploy dashboard widget",
      "description": "Umbra taedium clementia artificiose aestus carus sit tergo cunabula cognatus.",
      "status": "in_progress",
      "priority": "urgent",
      "dueDate": null,
      "createdAt": "2025-06-02T13:15:59.160Z",
      "updatedAt": "2026-05-13T06:36:22.248Z"
    }
  ],
  "meta": {
    "page": 5,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=5&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=6&limit=24",
    "prev": "/api/v1/tasks?page=4&limit=24"
  }
}