example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 27 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": 625,
      "projectId": 76,
      "assigneeUserId": 187,
      "title": "Deploy data validation",
      "description": "Supplanto vaco aeger.",
      "status": "in_review",
      "priority": "normal",
      "dueDate": "2026-07-06",
      "createdAt": "2025-07-14T05:35:16.233Z",
      "updatedAt": "2026-03-30T21:21:09.047Z"
    },
    {
      "id": 626,
      "projectId": 76,
      "assigneeUserId": 17,
      "title": "Implement CI pipeline",
      "description": "Certus terror nobis.",
      "status": "in_review",
      "priority": "normal",
      "dueDate": "2026-05-23",
      "createdAt": "2026-01-31T23:54:19.587Z",
      "updatedAt": "2026-03-30T14:21:50.104Z"
    },
    {
      "id": 627,
      "projectId": 76,
      "assigneeUserId": 95,
      "title": "Refactor unit tests",
      "description": "Voluptatibus vulpes crapula ascit arbor tres pariatur solus studio libero.",
      "status": "blocked",
      "priority": "low",
      "dueDate": null,
      "createdAt": "2026-01-29T20:31:53.393Z",
      "updatedAt": "2026-01-31T07:29:00.812Z"
    }
  ],
  "meta": {
    "page": 27,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=27&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=28&limit=24",
    "prev": "/api/v1/tasks?page=26&limit=24"
  }
}