example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 13 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": 289,
      "projectId": 34,
      "assigneeUserId": 49,
      "title": "Investigate error handling",
      "description": "Tempore defluo quisquam damnatio clibanus vesco adeo curriculum.",
      "status": "todo",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2026-03-15T03:28:53.786Z",
      "updatedAt": "2026-03-16T13:24:31.633Z"
    },
    {
      "id": 290,
      "projectId": 34,
      "assigneeUserId": 249,
      "title": "Configure data validation",
      "description": "Audio ipsam cultellus viscus amiculum perferendis.",
      "status": "done",
      "priority": "low",
      "dueDate": "2026-06-29",
      "createdAt": "2025-05-30T20:16:59.467Z",
      "updatedAt": "2026-04-08T05:57:05.754Z"
    },
    {
      "id": 291,
      "projectId": 34,
      "assigneeUserId": null,
      "title": "Investigate API endpoint",
      "description": "Strues cubitum degero tonsor odit socius decens.",
      "status": "done",
      "priority": "normal",
      "dueDate": "2026-04-28",
      "createdAt": "2025-07-29T08:54:38.573Z",
      "updatedAt": "2026-05-14T18:30:22.089Z"
    }
  ],
  "meta": {
    "page": 13,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=13&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=14&limit=24",
    "prev": "/api/v1/tasks?page=12&limit=24"
  }
}