update_workout
Change a rider's own workout by sending only the fields to modify; omitted fields and route stay unchanged, and provided steps replace all current steps. Returns the saved workout.
Instructions
Change one of the rider's own Workouts, only when they ask. Give only what changes: steps, when given, replace all Steps; every field left out (cues included) keeps its current value; the route is kept. A get_workout result can be edited and passed back as is. Warning: a Workout synced from another app (TrainingPeaks, Intervals.icu…) may be overwritten by that app's next sync. Returns the saved Workout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cues | No | Text Cues shown during the Workout. | |
| name | No | 1–200 characters. | |
| tags | No | Training effects, at most 3. | |
| steps | No | The Steps in order, at least 30 s in all. A repeat is flattened: Rouvy stores and returns flat Steps. | |
| visibility | No | private (the default), or public only when the rider asks. | |
| workout_id | Yes | A Workout id as returned by list_workouts. | |
| description | No | Free text. |