The History screen gives you a complete picture of every workout you have recorded. All your entries are mapped onto a FullCalendar monthly grid — on desktop — or a week list on smaller screens. Each day that contains at least one logged exercise shows the exercise name as an event label. Clicking any event or any day tile opens a detail modal listing every entry for that date, with inline edit and delete controls.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Lokhy87/gymApp/llms.txt
Use this file to discover all available pages before exploring further.
Using the history view
Open History from the sidebar
Navigate to History in the main navigation. The page fetches all your workout entries from
GET /api/history and renders them as calendar events.Find a date
Dates with logged workouts show one label per exercise. On mobile the view automatically switches to a week-by-week list for easier reading.
Click a date or event
Clicking any highlighted day or event label opens the Workout modal for that date. The modal lists every exercise you logged, along with its sets, reps, and weight.
Edit an entry
Click Edit next to any exercise in the modal. An edit form appears pre-filled with the current values. Adjust sets, reps, weight, or comments and click Save. The calendar refreshes automatically.
History response fields
Each item in the history list represents one saved workout entry.| Field | Type | Description |
|---|---|---|
id | integer | Unique ID used for edit and delete operations |
exercise_name | string | Display name of the exercise performed |
sets | integer | Number of sets recorded |
reps | integer | Number of repetitions per set |
weight | float | Load in kilograms |
comments | string | null | Free-text notes attached to the entry |
date | string | Server timestamp in YYYY-MM-DD HH:mm:ss format |
API reference
GET /api/history
Authorization header. It returns only entries belonging to the authenticated user — you never see other users’ data.
Editing and deleting entries from the history view calls the same
PUT /api/workouts/{id} and DELETE /api/workouts/{id} endpoints used when logging from the exercise library. See the Workouts page for the full request and response shapes.Related pages
Log a workout
Record a new exercise entry from the exercise library.
Track progress
Plot your weight-lifted over time for a single exercise.
History API
Full endpoint reference for the history resource.
Workouts API
Edit and delete endpoint reference for workout entries.