time-entries #153
- userId
-
Jo Haag-Mayer @jo_haag-mayer
- taskId
- tasks/95
- projectId
- —
- description
- Bug investigation and fix
- startedAt
- endedAt
- durationMinutes
- 464
- createdAt
Overview
time-entries / #153
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/153" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/153" ); 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/153"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/153"
)
time_entrie = res.json() Response
{
"id": 153,
"userId": 54,
"taskId": 95,
"projectId": null,
"description": "Bug investigation and fix",
"startedAt": "2026-01-02T13:20:53.648Z",
"endedAt": "2026-01-02T21:04:53.648Z",
"durationMinutes": 464,
"createdAt": "2026-01-02T21:04:53.648Z"
}