time-entries #5
- userId
-
Conner Bernhard @conner.bernhard33
- taskId
- tasks/242
- projectId
- —
- description
- Code review
- startedAt
- endedAt
- durationMinutes
- 306
- createdAt
Overview
time-entries / #5
#5
#5
Code review
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/5" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/5" ); 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/5"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/5"
)
time_entrie = res.json() Response
{
"id": 5,
"userId": 3,
"taskId": 242,
"projectId": null,
"description": "Code review",
"startedAt": "2026-03-06T20:27:24.385Z",
"endedAt": "2026-03-07T01:33:24.385Z",
"durationMinutes": 306,
"createdAt": "2026-03-07T01:33:24.385Z"
}