example-data.com
Menu
Browse docs and collections

Overview

tasks / #375

Migrate API endpoint

projectId
projects/45
assigneeUserId
Aylin Sanford @aylin.sanford
title
Migrate API endpoint
description
Contego campana placeat strues.
status
blocked
priority
normal
dueDate
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 375,
  "projectId": 45,
  "assigneeUserId": 173,
  "title": "Migrate API endpoint",
  "description": "Contego campana placeat strues.",
  "status": "blocked",
  "priority": "normal",
  "dueDate": null,
  "createdAt": "2026-01-06T23:45:34.591Z",
  "updatedAt": "2026-03-23T12:25:19.828Z"
}