example-data.com
Menu
Browse docs and collections

Overview

tasks / #177

Migrate role-based access

projectId
projects/22
assigneeUserId
Oliver Mitchell @oliver_mitchell50
title
Migrate role-based access
description
Thalassinus demonstro aeger.
status
todo
priority
normal
dueDate
2026-04-28
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 177,
  "projectId": 22,
  "assigneeUserId": 194,
  "title": "Migrate role-based access",
  "description": "Thalassinus demonstro aeger.",
  "status": "todo",
  "priority": "normal",
  "dueDate": "2026-04-28",
  "createdAt": "2025-07-15T02:51:33.813Z",
  "updatedAt": "2025-12-26T18:48:56.072Z"
}