example-data.com

workouts / #202

userId
Stephan Heller @stephan.heller
kind
strength
name
Upper Body Routine
durationMinutes
53
caloriesBurned
209
intensity
low
notes
Personal best on squats
performedAt
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/workouts/202" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/workouts/202"
);
const workout = await res.json();
import type { Workout } from "https://example-data.com/types/workouts.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/workouts/202"
);
const workout = (await res.json()) as Workout;
import requests

res = requests.get(
    "https://example-data.com/api/v1/workouts/202"
)
workout = res.json()
{
  "id": 202,
  "userId": 82,
  "kind": "strength",
  "name": "Upper Body Routine",
  "durationMinutes": 53,
  "caloriesBurned": 209,
  "intensity": "low",
  "notes": "Personal best on squats",
  "performedAt": "2025-08-06T16:27:55.997Z",
  "createdAt": "2025-08-06T16:47:19.533Z"
}
Draftbit