Full Challenge
- userId
-
Jennifer Hoeger @jennifer.hoeger
- kind
- cardio
- name
- Full Challenge
- durationMinutes
- 65
- caloriesBurned
- 397
- intensity
- medium
- notes
- Personal best on squats
- performedAt
- createdAt
Overview
workouts / #294
Full Challenge
#294
Request
curl example
curl -sS \ "https://example-data.com/api/v1/workouts/294" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/workouts/294" ); 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/294"
);
const workout = (await res.json()) as Workout; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/workouts/294"
)
workout = res.json() Response
{
"id": 294,
"userId": 119,
"kind": "cardio",
"name": "Full Challenge",
"durationMinutes": 65,
"caloriesBurned": 397,
"intensity": "medium",
"notes": "Personal best on squats",
"performedAt": "2025-11-09T07:51:32.113Z",
"createdAt": "2025-11-09T08:50:49.523Z"
}