time-entries #465
- userId
-
Daisy Kuhic @daisy_kuhic24
- taskId
- tasks/152
- projectId
- —
- description
- Meeting preparation
- startedAt
- endedAt
- durationMinutes
- 83
- createdAt
Overview
time-entries / #465
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/465" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/465" ); 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/465"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/465"
)
time_entrie = res.json() Response
{
"id": 465,
"userId": 172,
"taskId": 152,
"projectId": null,
"description": "Meeting preparation",
"startedAt": "2025-12-13T12:16:58.811Z",
"endedAt": "2025-12-13T13:39:58.811Z",
"durationMinutes": 83,
"createdAt": "2025-12-13T13:39:58.811Z"
}