example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 30 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": 697,
      "projectId": 83,
      "assigneeUserId": 168,
      "title": "Optimize role-based access",
      "description": "Abutor denuncio socius casso argumentum totus.",
      "status": "in_progress",
      "priority": "normal",
      "dueDate": "2026-04-28",
      "createdAt": "2025-07-25T22:22:01.392Z",
      "updatedAt": "2025-08-04T07:34:47.849Z"
    },
    {
      "id": 698,
      "projectId": 83,
      "assigneeUserId": null,
      "title": "Fix logging",
      "description": "Alius adipisci civitas tripudio ambitus laboriosam.",
      "status": "in_review",
      "priority": "normal",
      "dueDate": "2026-06-23",
      "createdAt": "2025-06-25T21:24:08.220Z",
      "updatedAt": "2025-08-21T18:18:44.083Z"
    },
    {
      "id": 699,
      "projectId": 83,
      "assigneeUserId": 23,
      "title": "Remove error handling",
      "description": "Ademptio communis attonbitus arbor comis nemo.",
      "status": "in_progress",
      "priority": "urgent",
      "dueDate": null,
      "createdAt": "2025-10-29T18:03:09.619Z",
      "updatedAt": "2026-01-29T22:17:41.660Z"
    }
  ],
  "meta": {
    "page": 30,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=30&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=31&limit=24",
    "prev": "/api/v1/tasks?page=29&limit=24"
  }
}