example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 17 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": 385,
      "projectId": 47,
      "assigneeUserId": 173,
      "title": "Integrate email notifications",
      "description": "Enim turbo capio advoco sapiente vel vehemens compello.",
      "status": "blocked",
      "priority": "low",
      "dueDate": null,
      "createdAt": "2026-03-05T22:45:39.624Z",
      "updatedAt": "2026-04-08T10:00:06.388Z"
    },
    {
      "id": 386,
      "projectId": 47,
      "assigneeUserId": null,
      "title": "Implement database query",
      "description": "Advenio ceno vulnero.",
      "status": "in_progress",
      "priority": "normal",
      "dueDate": "2026-08-20",
      "createdAt": "2026-01-24T23:01:48.264Z",
      "updatedAt": "2026-03-22T21:34:46.993Z"
    },
    {
      "id": 387,
      "projectId": 47,
      "assigneeUserId": 8,
      "title": "Configure user authentication",
      "description": "Rerum cernuus aufero conculco pax textilis nemo vitium decerno voluptates.",
      "status": "blocked",
      "priority": "normal",
      "dueDate": "2026-07-01",
      "createdAt": "2025-12-16T09:08:48.131Z",
      "updatedAt": "2026-03-17T13:18:16.964Z"
    }
  ],
  "meta": {
    "page": 17,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=17&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=18&limit=24",
    "prev": "/api/v1/tasks?page=16&limit=24"
  }
}