time-entries #277
- userId
-
Charity Crona @charity.crona12
- taskId
- —
- projectId
- projects/49
- description
- Meeting preparation
- startedAt
- endedAt
- durationMinutes
- 138
- createdAt
Overview
time-entries / #277
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/277" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/277" ); 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/277"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/277"
)
time_entrie = res.json() Response
{
"id": 277,
"userId": 100,
"taskId": null,
"projectId": 49,
"description": "Meeting preparation",
"startedAt": "2026-05-20T09:40:57.977Z",
"endedAt": "2026-05-20T11:58:57.977Z",
"durationMinutes": 138,
"createdAt": "2026-05-20T11:58:57.977Z"
}