example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 2 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": 25,
      "projectId": 3,
      "assigneeUserId": 27,
      "title": "Add email notifications",
      "description": "Volo voro vos quidem civis dedecor vapulus.",
      "status": "in_review",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2025-05-27T14:21:03.780Z",
      "updatedAt": "2026-03-09T23:04:12.621Z"
    },
    {
      "id": 26,
      "projectId": 3,
      "assigneeUserId": 235,
      "title": "Investigate role-based access",
      "description": "Sollers autus colo angulus adsidue tribuo deduco textor.",
      "status": "todo",
      "priority": "normal",
      "dueDate": "2026-04-29",
      "createdAt": "2025-09-14T17:13:32.351Z",
      "updatedAt": "2026-02-14T13:33:55.374Z"
    },
    {
      "id": 27,
      "projectId": 3,
      "assigneeUserId": 6,
      "title": "Fix role-based access",
      "description": "Stella non admoveo stips timidus.",
      "status": "done",
      "priority": "high",
      "dueDate": "2026-06-21",
      "createdAt": "2026-02-24T22:05:43.991Z",
      "updatedAt": "2026-05-20T17:20:10.239Z"
    }
  ],
  "meta": {
    "page": 2,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=2&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=3&limit=24",
    "prev": "/api/v1/tasks?page=1&limit=24"
  }
}