example-data.com
Menu
Browse docs and collections

Overview

tasks / #687

Fix API endpoint

projectId
projects/82
assigneeUserId
Emilia Cummerata @emilia_cummerata
title
Fix API endpoint
description
Tamdiu distinctio repellendus ulciscor accendo viridis speculum.
status
in_review
priority
high
dueDate
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/tasks/687"
);
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/687"
);
const task = (await res.json()) as Task;

Python example

import requests

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

Response

{
  "id": 687,
  "projectId": 82,
  "assigneeUserId": 238,
  "title": "Fix API endpoint",
  "description": "Tamdiu distinctio repellendus ulciscor accendo viridis speculum.",
  "status": "in_review",
  "priority": "high",
  "dueDate": null,
  "createdAt": "2025-07-12T01:31:35.490Z",
  "updatedAt": "2026-02-27T14:35:59.543Z"
}