time-entries #237
- userId
-
Phyllis Hyatt @phyllis_hyatt83
- taskId
- tasks/575
- projectId
- —
- description
- Architecture discussion
- startedAt
- endedAt
- durationMinutes
- 448
- createdAt
Overview
time-entries / #237
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/237" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/237" ); 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/237"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/237"
)
time_entrie = res.json() Response
{
"id": 237,
"userId": 84,
"taskId": 575,
"projectId": null,
"description": "Architecture discussion",
"startedAt": "2025-12-10T17:36:25.669Z",
"endedAt": "2025-12-11T01:04:25.669Z",
"durationMinutes": 448,
"createdAt": "2025-12-11T01:04:25.669Z"
}