example-data.com
Menu
Browse docs and collections

Overview

tasks / #488

Document role-based access

projectId
projects/61
assigneeUserId
Americo Hoppe @americo_hoppe57
title
Document role-based access
description
Tempora certus anser cupiditas claudeo labore.
status
todo
priority
normal
dueDate
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 488,
  "projectId": 61,
  "assigneeUserId": 177,
  "title": "Document role-based access",
  "description": "Tempora certus anser cupiditas claudeo labore.",
  "status": "todo",
  "priority": "normal",
  "dueDate": null,
  "createdAt": "2025-07-11T19:17:49.886Z",
  "updatedAt": "2026-02-16T09:12:31.130Z"
}