Quick Training
- userId
-
Amina King @amina_king41
- kind
- strength
- name
- Quick Training
- durationMinutes
- 75
- caloriesBurned
- 737
- intensity
- high
- notes
- Cardio felt easy
- performedAt
- createdAt
Overview
workouts / #5
Quick Training
#5
Request
curl example
curl -sS \ "https://example-data.com/api/v1/workouts/5" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/workouts/5" ); const workout = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/workouts.d.ts https://example-data.com/types/workouts.d.ts
import type { Workout } from "./types/workouts";
const res = await fetch(
"https://example-data.com/api/v1/workouts/5"
);
const workout = (await res.json()) as Workout; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/workouts/5"
)
workout = res.json() Response
{
"id": 5,
"userId": 2,
"kind": "strength",
"name": "Quick Training",
"durationMinutes": 75,
"caloriesBurned": 737,
"intensity": "high",
"notes": "Cardio felt easy",
"performedAt": "2026-03-26T06:25:45.196Z",
"createdAt": "2026-03-26T06:56:30.656Z"
}