example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 15 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": 337,
      "projectId": 41,
      "assigneeUserId": 1,
      "title": "Update logging",
      "description": "Fugit conitor uter demulceo saepe canto tubineus.",
      "status": "done",
      "priority": "urgent",
      "dueDate": null,
      "createdAt": "2026-01-03T00:28:56.997Z",
      "updatedAt": "2026-04-14T17:52:58.008Z"
    },
    {
      "id": 338,
      "projectId": 41,
      "assigneeUserId": null,
      "title": "Configure data export",
      "description": "Modi aperio vulticulus culpo tamisium.",
      "status": "in_review",
      "priority": "high",
      "dueDate": null,
      "createdAt": "2025-07-15T04:04:05.941Z",
      "updatedAt": "2025-07-28T01:05:36.004Z"
    },
    {
      "id": 339,
      "projectId": 42,
      "assigneeUserId": 58,
      "title": "Optimize unit tests",
      "description": "Apostolus ullam ipsa surgo tolero rerum carpo adstringo comprehendo tolero.",
      "status": "blocked",
      "priority": "normal",
      "dueDate": "2026-07-14",
      "createdAt": "2025-11-07T11:23:59.247Z",
      "updatedAt": "2025-11-23T22:49:29.574Z"
    }
  ],
  "meta": {
    "page": 15,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=15&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=16&limit=24",
    "prev": "/api/v1/tasks?page=14&limit=24"
  }
}