example-data.com
Menu
Browse docs and collections

Overview

tasks / #390

Migrate API endpoint

projectId
projects/47
assigneeUserId
Malvina Ortiz @malvina_ortiz
title
Migrate API endpoint
description
Theologus centum conservo dicta.
status
in_progress
priority
normal
dueDate
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 390,
  "projectId": 47,
  "assigneeUserId": 234,
  "title": "Migrate API endpoint",
  "description": "Theologus centum conservo dicta.",
  "status": "in_progress",
  "priority": "normal",
  "dueDate": null,
  "createdAt": "2026-04-13T02:26:17.749Z",
  "updatedAt": "2026-05-03T14:06:10.041Z"
}