example-data.com
Menu
Browse docs and collections

Overview

tasks / #347

Document role-based access

projectId
projects/42
assigneeUserId
Malvina Ortiz @malvina_ortiz
title
Document role-based access
description
Arbustum apto aegre defetiscor compello desipio tamdiu valens attero.
status
done
priority
high
dueDate
2026-07-29
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 347,
  "projectId": 42,
  "assigneeUserId": 234,
  "title": "Document role-based access",
  "description": "Arbustum apto aegre defetiscor compello desipio tamdiu valens attero.",
  "status": "done",
  "priority": "high",
  "dueDate": "2026-07-29",
  "createdAt": "2025-09-13T16:48:48.724Z",
  "updatedAt": "2026-05-17T22:39:55.354Z"
}