time-entries #228
- userId
-
Mateo Gerlach @mateo.gerlach
- taskId
- tasks/421
- projectId
- —
- description
- Architecture discussion
- startedAt
- endedAt
- durationMinutes
- 271
- createdAt
Overview
time-entries / #228
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/228" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/228" ); 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/228"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/228"
)
time_entrie = res.json() Response
{
"id": 228,
"userId": 81,
"taskId": 421,
"projectId": null,
"description": "Architecture discussion",
"startedAt": "2026-01-28T12:18:33.227Z",
"endedAt": "2026-01-28T16:49:33.227Z",
"durationMinutes": 271,
"createdAt": "2026-01-28T16:49:33.227Z"
}