example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 23 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": 529,
      "projectId": 65,
      "assigneeUserId": 180,
      "title": "Remove data validation",
      "description": "Armarium similique derelinquo aspicio capio toties.",
      "status": "todo",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2025-07-30T08:45:28.601Z",
      "updatedAt": "2026-01-18T19:22:03.547Z"
    },
    {
      "id": 530,
      "projectId": 65,
      "assigneeUserId": 67,
      "title": "Optimize unit tests",
      "description": "Curatio denego angulus contra est cernuus amet repellat.",
      "status": "done",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2025-10-02T08:40:47.291Z",
      "updatedAt": "2025-10-06T11:35:34.995Z"
    },
    {
      "id": 531,
      "projectId": 65,
      "assigneeUserId": 36,
      "title": "Configure file uploads",
      "description": "Cursim terminatio convoco vinitor.",
      "status": "todo",
      "priority": "urgent",
      "dueDate": null,
      "createdAt": "2026-04-11T18:29:01.020Z",
      "updatedAt": "2026-05-15T05:52:47.224Z"
    }
  ],
  "meta": {
    "page": 23,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=23&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=24&limit=24",
    "prev": "/api/v1/tasks?page=22&limit=24"
  }
}