example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 29 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": 673,
      "projectId": 81,
      "assigneeUserId": 148,
      "title": "Investigate API endpoint",
      "description": "Et versus vindico eaque.",
      "status": "blocked",
      "priority": "normal",
      "dueDate": "2026-06-19",
      "createdAt": "2025-11-07T22:23:20.145Z",
      "updatedAt": "2026-05-11T22:58:02.227Z"
    },
    {
      "id": 674,
      "projectId": 81,
      "assigneeUserId": null,
      "title": "Integrate UI component",
      "description": "Quae terra statua abscido.",
      "status": "in_progress",
      "priority": "high",
      "dueDate": null,
      "createdAt": "2025-05-25T21:18:06.308Z",
      "updatedAt": "2025-12-05T20:47:57.393Z"
    },
    {
      "id": 675,
      "projectId": 81,
      "assigneeUserId": null,
      "title": "Refactor pagination",
      "description": "Denuncio viriliter clam bonus.",
      "status": "blocked",
      "priority": "high",
      "dueDate": "2026-08-08",
      "createdAt": "2026-01-06T14:38:10.466Z",
      "updatedAt": "2026-04-02T00:55:04.252Z"
    }
  ],
  "meta": {
    "page": 29,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=29&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=30&limit=24",
    "prev": "/api/v1/tasks?page=28&limit=24"
  }
}