example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 7 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": 145,
      "projectId": 19,
      "assigneeUserId": 245,
      "title": "Deploy email notifications",
      "description": "Acer sum talio usus viriliter beatae.",
      "status": "blocked",
      "priority": "low",
      "dueDate": null,
      "createdAt": "2026-02-24T01:23:08.822Z",
      "updatedAt": "2026-04-04T16:09:47.272Z"
    },
    {
      "id": 146,
      "projectId": 19,
      "assigneeUserId": 55,
      "title": "Migrate UI component",
      "description": "Usitas ut deputo velut.",
      "status": "done",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2025-12-20T15:58:10.229Z",
      "updatedAt": "2026-01-13T20:51:04.475Z"
    },
    {
      "id": 147,
      "projectId": 20,
      "assigneeUserId": 148,
      "title": "Configure API endpoint",
      "description": "Celo adicio denuo maiores aiunt spiritus crinis.",
      "status": "done",
      "priority": "normal",
      "dueDate": "2026-04-27",
      "createdAt": "2025-05-30T20:44:33.316Z",
      "updatedAt": "2025-08-06T16:12:11.630Z"
    }
  ],
  "meta": {
    "page": 7,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=7&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=8&limit=24",
    "prev": "/api/v1/tasks?page=6&limit=24"
  }
}