time-entries #9
- userId
-
Cayla Farrell @cayla_farrell
- taskId
- tasks/648
- projectId
- —
- description
- Security review
- startedAt
- endedAt
- durationMinutes
- 127
- createdAt
Overview
time-entries / #9
#9
#9
Security review
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/9" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/9" ); 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/9"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/9"
)
time_entrie = res.json() Response
{
"id": 9,
"userId": 4,
"taskId": 648,
"projectId": null,
"description": "Security review",
"startedAt": "2026-05-08T23:21:43.274Z",
"endedAt": "2026-05-09T01:28:43.274Z",
"durationMinutes": 127,
"createdAt": "2026-05-09T01:28:43.274Z"
}