time-entries #635
- userId
-
Oma Franecki-Johnson @oma.franecki-johnson
- taskId
- —
- projectId
- —
- description
- Code review
- startedAt
- endedAt
- durationMinutes
- 238
- createdAt
Overview
time-entries / #635
#635
#635
Code review
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/635" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/635" ); 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/635"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/635"
)
time_entrie = res.json() Response
{
"id": 635,
"userId": 242,
"taskId": null,
"projectId": null,
"description": "Code review",
"startedAt": "2025-12-27T16:22:12.325Z",
"endedAt": "2025-12-27T20:20:12.325Z",
"durationMinutes": 238,
"createdAt": "2025-12-27T20:20:12.325Z"
}