time-entries #125
- userId
-
Trace Witting-Stamm @trace_witting-stamm17
- taskId
- —
- projectId
- projects/84
- description
- Deployment and monitoring
- startedAt
- endedAt
- durationMinutes
- 221
- createdAt
Overview
time-entries / #125
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/125" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/125" ); 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/125"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/125"
)
time_entrie = res.json() Response
{
"id": 125,
"userId": 42,
"taskId": null,
"projectId": 84,
"description": "Deployment and monitoring",
"startedAt": "2025-12-08T02:46:01.058Z",
"endedAt": "2025-12-08T06:27:01.058Z",
"durationMinutes": 221,
"createdAt": "2025-12-08T06:27:01.058Z"
}