example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 12 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": 265,
      "projectId": 32,
      "assigneeUserId": 55,
      "title": "Migrate file uploads",
      "description": "Cernuus curso averto.",
      "status": "in_review",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2025-08-07T05:10:34.732Z",
      "updatedAt": "2025-09-16T11:02:12.199Z"
    },
    {
      "id": 266,
      "projectId": 32,
      "assigneeUserId": 247,
      "title": "Update user authentication",
      "description": "Alveus decor suggero.",
      "status": "in_progress",
      "priority": "low",
      "dueDate": "2026-07-19",
      "createdAt": "2025-08-12T16:59:22.967Z",
      "updatedAt": "2025-12-22T05:04:31.642Z"
    },
    {
      "id": 267,
      "projectId": 32,
      "assigneeUserId": 121,
      "title": "Optimize pagination",
      "description": "Universe spiritus adiuvo demum contabesco debitis.",
      "status": "todo",
      "priority": "low",
      "dueDate": "2026-07-26",
      "createdAt": "2025-10-21T12:48:09.204Z",
      "updatedAt": "2026-05-18T07:34:30.962Z"
    }
  ],
  "meta": {
    "page": 12,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=12&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=13&limit=24",
    "prev": "/api/v1/tasks?page=11&limit=24"
  }
}