example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 19 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": 433,
      "projectId": 53,
      "assigneeUserId": 115,
      "title": "Add UI component",
      "description": "Adamo explicabo valens vulgivagus nihil aestus eaque adduco.",
      "status": "in_progress",
      "priority": "normal",
      "dueDate": "2026-07-26",
      "createdAt": "2026-03-03T11:43:58.982Z",
      "updatedAt": "2026-05-19T03:36:31.458Z"
    },
    {
      "id": 434,
      "projectId": 53,
      "assigneeUserId": 165,
      "title": "Investigate unit tests",
      "description": "Tibi blanditiis sordeo aequus conqueror reprehenderit valens advoco.",
      "status": "in_progress",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2025-11-30T13:26:06.677Z",
      "updatedAt": "2026-03-17T00:34:42.864Z"
    },
    {
      "id": 435,
      "projectId": 53,
      "assigneeUserId": 191,
      "title": "Integrate database query",
      "description": "Conforto tubineus bibo atrox.",
      "status": "done",
      "priority": "normal",
      "dueDate": "2026-08-06",
      "createdAt": "2026-05-12T13:50:45.597Z",
      "updatedAt": "2026-05-16T07:06:59.441Z"
    }
  ],
  "meta": {
    "page": 19,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=19&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=20&limit=24",
    "prev": "/api/v1/tasks?page=18&limit=24"
  }
}