example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 20 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": 457,
      "projectId": 57,
      "assigneeUserId": 186,
      "title": "Document CI pipeline",
      "description": "Comes studio adfero.",
      "status": "todo",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2026-05-08T00:32:48.550Z",
      "updatedAt": "2026-05-21T06:43:19.401Z"
    },
    {
      "id": 458,
      "projectId": 57,
      "assigneeUserId": 104,
      "title": "Investigate analytics tracking",
      "description": "Comitatus viscus pax derideo tamisium delinquo.",
      "status": "done",
      "priority": "urgent",
      "dueDate": null,
      "createdAt": "2025-12-15T20:35:23.570Z",
      "updatedAt": "2026-05-09T02:03:44.914Z"
    },
    {
      "id": 459,
      "projectId": 58,
      "assigneeUserId": 179,
      "title": "Configure user authentication",
      "description": "Utor basium commodi auditor illo alioqui vester adstringo cura terra.",
      "status": "done",
      "priority": "normal",
      "dueDate": "2026-06-18",
      "createdAt": "2026-05-15T19:24:05.579Z",
      "updatedAt": "2026-05-21T14:28:41.776Z"
    }
  ],
  "meta": {
    "page": 20,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=20&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=21&limit=24",
    "prev": "/api/v1/tasks?page=19&limit=24"
  }
}