example-data.com
Menu
Browse docs and collections

Overview

tasks / #17

Refactor logging

projectId
projects/2
assigneeUserId
title
Refactor logging
description
Nemo sortitus appono virgo acer soleo voveo sequi creta.
status
todo
priority
normal
dueDate
createdAt
updatedAt

Component variants

Related

References

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 17,
  "projectId": 2,
  "assigneeUserId": null,
  "title": "Refactor logging",
  "description": "Nemo sortitus appono virgo acer soleo voveo sequi creta.",
  "status": "todo",
  "priority": "normal",
  "dueDate": null,
  "createdAt": "2025-11-28T04:55:25.328Z",
  "updatedAt": "2026-03-25T07:52:06.073Z"
}