time-entries #225
- userId
-
Amya Powlowski @amya_powlowski32
- taskId
- tasks/404
- projectId
- —
- description
- Technical spike
- startedAt
- endedAt
- durationMinutes
- 476
- createdAt
Overview
time-entries / #225
#225
#225
Technical spike
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/225" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/225" ); const timeEntry = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/time-entries.d.ts https://example-data.com/types/time-entries.d.ts
import type { TimeEntry } from "./types/time-entries";
const res = await fetch(
"https://example-data.com/api/v1/time-entries/225"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/225"
)
time_entrie = res.json() Response
{
"id": 225,
"userId": 80,
"taskId": 404,
"projectId": null,
"description": "Technical spike",
"startedAt": "2025-12-25T19:30:24.000Z",
"endedAt": "2025-12-26T03:26:24.000Z",
"durationMinutes": 476,
"createdAt": "2025-12-26T03:26:24.000Z"
}