time-entries #211
- userId
-
Berniece Medhurst @berniece_medhurst
- taskId
- tasks/134
- projectId
- —
- description
- Implementing feature
- startedAt
- endedAt
- durationMinutes
- 102
- createdAt
Overview
time-entries / #211
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/211" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/211" ); 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/211"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/211"
)
time_entrie = res.json() Response
{
"id": 211,
"userId": 77,
"taskId": 134,
"projectId": null,
"description": "Implementing feature",
"startedAt": "2025-11-27T19:42:25.813Z",
"endedAt": "2025-11-27T21:24:25.813Z",
"durationMinutes": 102,
"createdAt": "2025-11-27T21:24:25.813Z"
}