example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 6 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": 121,
      "projectId": 16,
      "assigneeUserId": 37,
      "title": "Optimize CI pipeline",
      "description": "Despecto avaritia astrum derelinquo argumentum aut.",
      "status": "blocked",
      "priority": "low",
      "dueDate": "2026-06-28",
      "createdAt": "2025-12-15T14:37:38.630Z",
      "updatedAt": "2026-01-10T16:53:50.771Z"
    },
    {
      "id": 122,
      "projectId": 16,
      "assigneeUserId": 125,
      "title": "Migrate CI pipeline",
      "description": "Quos coniuratio turbo decumbo vesica confero aeneus tristis.",
      "status": "blocked",
      "priority": "normal",
      "dueDate": "2026-08-19",
      "createdAt": "2025-11-03T04:25:01.932Z",
      "updatedAt": "2026-03-26T19:26:38.054Z"
    },
    {
      "id": 123,
      "projectId": 16,
      "assigneeUserId": null,
      "title": "Integrate database query",
      "description": "Tego tamen utor commodi cui suasoria valetudo.",
      "status": "blocked",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2026-02-20T00:19:10.557Z",
      "updatedAt": "2026-03-19T10:28:43.400Z"
    }
  ],
  "meta": {
    "page": 6,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=6&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=7&limit=24",
    "prev": "/api/v1/tasks?page=5&limit=24"
  }
}