example-data.com
Menu
Browse docs and collections

tasks

tasks

Page 14 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": 313,
      "projectId": 39,
      "assigneeUserId": 178,
      "title": "Fix analytics tracking",
      "description": "Volo vinco desparatus natus.",
      "status": "blocked",
      "priority": "normal",
      "dueDate": null,
      "createdAt": "2026-05-21T07:44:21.271Z",
      "updatedAt": "2026-05-21T16:25:18.670Z"
    },
    {
      "id": 314,
      "projectId": 39,
      "assigneeUserId": 110,
      "title": "Deploy logging",
      "description": "Crapula animus comis carus.",
      "status": "in_progress",
      "priority": "urgent",
      "dueDate": "2026-05-30",
      "createdAt": "2026-04-03T15:11:30.024Z",
      "updatedAt": "2026-05-09T11:18:20.478Z"
    },
    {
      "id": 315,
      "projectId": 39,
      "assigneeUserId": null,
      "title": "Fix role-based access",
      "description": "Astrum corrupti alter magnam nulla provident celebrer solitudo.",
      "status": "blocked",
      "priority": "high",
      "dueDate": null,
      "createdAt": "2026-02-10T15:35:30.451Z",
      "updatedAt": "2026-02-23T15:55:30.214Z"
    }
  ],
  "meta": {
    "page": 14,
    "limit": 24,
    "total": 723,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/tasks?page=14&limit=24",
    "first": "/api/v1/tasks?page=1&limit=24",
    "last": "/api/v1/tasks?page=31&limit=24",
    "next": "/api/v1/tasks?page=15&limit=24",
    "prev": "/api/v1/tasks?page=13&limit=24"
  }
}