time-entries #521
- userId
-
Lavonne Schmidt @lavonne.schmidt95
- taskId
- tasks/615
- projectId
- —
- description
- Implementing feature
- startedAt
- endedAt
- durationMinutes
- 378
- createdAt
Overview
time-entries / #521
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/521" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/521" ); 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/521"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/521"
)
time_entrie = res.json() Response
{
"id": 521,
"userId": 192,
"taskId": 615,
"projectId": null,
"description": "Implementing feature",
"startedAt": "2025-12-28T20:23:41.350Z",
"endedAt": "2025-12-29T02:41:41.350Z",
"durationMinutes": 378,
"createdAt": "2025-12-29T02:41:41.350Z"
}