example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 28 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": 649,
      "projectId": 78,
      "assigneeUserId": 140,
      "title": "Review CI pipeline",
      "description": "Desino deporto clarus congregatio iste bonus summa fugit benevolentia supra.",
      "status": "done",
      "priority": "normal",
      "dueDate": "2026-08-10",
      "createdAt": "2026-01-12T15:26:49.979Z",
      "updatedAt": "2026-01-19T19:59:02.246Z"
    },
    {
      "id": 650,
      "projectId": 78,
      "assigneeUserId": 87,
      "title": "Document caching layer",
      "description": "Tepesco dapifer comburo.",
      "status": "todo",
      "priority": "low",
      "dueDate": "2026-06-14",
      "createdAt": "2025-12-11T16:08:05.016Z",
      "updatedAt": "2026-04-13T15:44:10.016Z"
    },
    {
      "id": 651,
      "projectId": 78,
      "assigneeUserId": 206,
      "title": "Implement pagination",
      "description": "Aeternus caste cernuus cariosus.",
      "status": "todo",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2025-09-11T04:44:38.245Z",
      "updatedAt": "2026-02-18T21:23:00.124Z"
    }
  ],
  "meta": {
    "page": 28,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=28&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=29&limit=24",
    "prev": "/api/v1/tasks?page=27&limit=24"
  }
}