example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 21 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": 481,
      "projectId": 60,
      "assigneeUserId": 81,
      "title": "Document role-based access",
      "description": "Arx ater aliquid.",
      "status": "in_review",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2025-10-24T01:26:43.029Z",
      "updatedAt": "2025-12-15T12:33:56.121Z"
    },
    {
      "id": 482,
      "projectId": 60,
      "assigneeUserId": 65,
      "title": "Deploy UI component",
      "description": "Statim degero amissio rem spiculum cinis pariatur coma statua.",
      "status": "in_progress",
      "priority": "normal",
      "dueDate": "2026-06-09",
      "createdAt": "2025-12-09T23:04:39.129Z",
      "updatedAt": "2026-05-03T12:20:50.796Z"
    },
    {
      "id": 483,
      "projectId": 61,
      "assigneeUserId": 137,
      "title": "Optimize user authentication",
      "description": "Calamitas architecto caritas stillicidium.",
      "status": "todo",
      "priority": "high",
      "dueDate": "2026-07-25",
      "createdAt": "2025-12-06T18:19:48.155Z",
      "updatedAt": "2026-05-01T03:06:59.965Z"
    }
  ],
  "meta": {
    "page": 21,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=21&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=22&limit=24",
    "prev": "/api/v1/tasks?page=20&limit=24"
  }
}