example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 4 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": 73,
      "projectId": 11,
      "assigneeUserId": 121,
      "title": "Add email notifications",
      "description": "Solutio uterque solvo sum.",
      "status": "in_progress",
      "priority": "normal",
      "dueDate": "2026-07-03",
      "createdAt": "2025-10-06T00:56:41.076Z",
      "updatedAt": "2025-10-26T10:30:38.039Z"
    },
    {
      "id": 74,
      "projectId": 11,
      "assigneeUserId": 82,
      "title": "Implement search functionality",
      "description": "Dicta templum delego voveo veniam auctor apostolus subiungo inflammatio vivo.",
      "status": "blocked",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2025-06-07T15:48:48.767Z",
      "updatedAt": "2025-09-24T20:28:28.704Z"
    },
    {
      "id": 75,
      "projectId": 11,
      "assigneeUserId": 201,
      "title": "Remove error handling",
      "description": "Cursus valeo vado vapulus certe saepe veniam utilis adsum victus.",
      "status": "todo",
      "priority": "low",
      "dueDate": null,
      "createdAt": "2026-04-08T19:49:06.415Z",
      "updatedAt": "2026-05-04T06:35:54.943Z"
    }
  ],
  "meta": {
    "page": 4,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=4&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=5&limit=24",
    "prev": "/api/v1/tasks?page=3&limit=24"
  }
}