example-data.com
Menu
Browse docs and collections

Overview

tasks / #555

Implement API endpoint

projectId
projects/69
assigneeUserId
title
Implement API endpoint
description
Tollo tamdiu suppono auctor culpa claro aptus trucido aut volaticus.
status
done
priority
normal
dueDate
2026-08-08
createdAt
updatedAt

Component variants

Related

References

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/tasks/555" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/tasks/555"
);
const task = 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 } from "./types/tasks";

const res = await fetch(
  "https://example-data.com/api/v1/tasks/555"
);
const task = (await res.json()) as Task;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/tasks/555"
)
task = res.json()

Response

{
  "id": 555,
  "projectId": 69,
  "assigneeUserId": null,
  "title": "Implement API endpoint",
  "description": "Tollo tamdiu suppono auctor culpa claro aptus trucido aut volaticus.",
  "status": "done",
  "priority": "normal",
  "dueDate": "2026-08-08",
  "createdAt": "2025-08-02T12:33:52.955Z",
  "updatedAt": "2026-01-17T19:32:12.310Z"
}