example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 9 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": 193,
      "projectId": 25,
      "assigneeUserId": null,
      "title": "Investigate logging",
      "description": "Vero aiunt cado ademptio.",
      "status": "in_progress",
      "priority": "normal",
      "dueDate": "2026-05-27",
      "createdAt": "2025-11-12T00:59:32.829Z",
      "updatedAt": "2026-03-20T18:26:39.027Z"
    },
    {
      "id": 194,
      "projectId": 25,
      "assigneeUserId": 22,
      "title": "Investigate performance metrics",
      "description": "Voro tenetur utpote creator cometes admoveo admiratio.",
      "status": "in_review",
      "priority": "normal",
      "dueDate": "2026-08-08",
      "createdAt": "2025-10-23T03:53:08.287Z",
      "updatedAt": "2025-10-27T01:26:30.481Z"
    },
    {
      "id": 195,
      "projectId": 25,
      "assigneeUserId": 232,
      "title": "Deploy analytics tracking",
      "description": "Commemoro approbo agnitio nulla derelinquo super.",
      "status": "blocked",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2025-10-19T15:49:55.997Z",
      "updatedAt": "2026-03-27T15:27:33.426Z"
    }
  ],
  "meta": {
    "page": 9,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=9&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=10&limit=24",
    "prev": "/api/v1/tasks?page=8&limit=24"
  }
}