example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 26 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": 601,
      "projectId": 73,
      "assigneeUserId": 150,
      "title": "Remove error handling",
      "description": "Volubilis vinculum laboriosam deporto cibo currus antea alo.",
      "status": "todo",
      "priority": "normal",
      "dueDate": "2026-07-15",
      "createdAt": "2026-03-03T22:23:39.013Z",
      "updatedAt": "2026-05-07T22:16:24.431Z"
    },
    {
      "id": 602,
      "projectId": 73,
      "assigneeUserId": 129,
      "title": "Integrate caching layer",
      "description": "Cunabula arbustum soluta tantum.",
      "status": "blocked",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2025-08-25T13:07:45.976Z",
      "updatedAt": "2026-03-29T02:29:29.057Z"
    },
    {
      "id": 603,
      "projectId": 73,
      "assigneeUserId": 51,
      "title": "Investigate caching layer",
      "description": "Sumptus convoco pauci quas utrum tonsor.",
      "status": "in_progress",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2025-08-27T14:19:37.512Z",
      "updatedAt": "2026-03-13T17:20:13.043Z"
    }
  ],
  "meta": {
    "page": 26,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=26&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=27&limit=24",
    "prev": "/api/v1/tasks?page=25&limit=24"
  }
}