example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 16 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": 361,
      "projectId": 43,
      "assigneeUserId": null,
      "title": "Document UI component",
      "description": "Supra thesis aequus adaugeo decerno.",
      "status": "in_progress",
      "priority": "urgent",
      "dueDate": "2026-05-03",
      "createdAt": "2025-11-04T17:02:03.527Z",
      "updatedAt": "2026-04-29T02:27:33.795Z"
    },
    {
      "id": 362,
      "projectId": 43,
      "assigneeUserId": 231,
      "title": "Update CI pipeline",
      "description": "Est tergo vicissitudo depulso aduro.",
      "status": "blocked",
      "priority": "normal",
      "dueDate": "2026-08-16",
      "createdAt": "2026-05-09T01:01:51.585Z",
      "updatedAt": "2026-05-18T13:43:21.335Z"
    },
    {
      "id": 363,
      "projectId": 43,
      "assigneeUserId": 182,
      "title": "Update data export",
      "description": "Autem iure sub.",
      "status": "in_progress",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2025-10-20T14:00:21.736Z",
      "updatedAt": "2025-12-21T04:18:11.128Z"
    }
  ],
  "meta": {
    "page": 16,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=16&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=17&limit=24",
    "prev": "/api/v1/tasks?page=15&limit=24"
  }
}