example-data.com
Menu
Browse docs and collections

Overview

tasks / #351

Test logging

projectId
projects/42
assigneeUserId
Carmel Schultz @carmel.schultz
title
Test logging
description
Degusto carpo atqui quidem angulus calculus tantum copiose.
status
todo
priority
high
dueDate
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 351,
  "projectId": 42,
  "assigneeUserId": 156,
  "title": "Test logging",
  "description": "Degusto carpo atqui quidem angulus calculus tantum copiose.",
  "status": "todo",
  "priority": "high",
  "dueDate": null,
  "createdAt": "2026-04-04T05:32:04.324Z",
  "updatedAt": "2026-04-25T17:51:59.452Z"
}