example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 11 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": 241,
      "projectId": 30,
      "assigneeUserId": 226,
      "title": "Investigate UI component",
      "description": "Decet officia compono.",
      "status": "todo",
      "priority": "urgent",
      "dueDate": null,
      "createdAt": "2025-08-07T20:36:11.662Z",
      "updatedAt": "2026-03-28T15:58:29.767Z"
    },
    {
      "id": 242,
      "projectId": 30,
      "assigneeUserId": 113,
      "title": "Refactor performance metrics",
      "description": "Harum calamitas calculus.",
      "status": "blocked",
      "priority": "low",
      "dueDate": null,
      "createdAt": "2025-08-31T23:11:35.916Z",
      "updatedAt": "2026-01-21T10:13:21.286Z"
    },
    {
      "id": 243,
      "projectId": 30,
      "assigneeUserId": 30,
      "title": "Remove error handling",
      "description": "Ullus denique collum pel.",
      "status": "in_progress",
      "priority": "low",
      "dueDate": null,
      "createdAt": "2025-06-07T01:24:33.579Z",
      "updatedAt": "2025-11-14T14:57:52.807Z"
    }
  ],
  "meta": {
    "page": 11,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=11&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=12&limit=24",
    "prev": "/api/v1/tasks?page=10&limit=24"
  }
}