postRoutinesRequestExercise.json•1.66 kB
{"type":"object","properties":{"exercise_template_id":{"type":"string","description":"The ID of the exercise template.","example":"D04AC939"},"superset_id":{"type":"integer","nullable":true,"description":"The ID of the superset.","example":null},"rest_seconds":{"type":"integer","nullable":true,"description":"The rest time in seconds.","example":90},"notes":{"type":"string","nullable":true,"description":"Additional notes for the exercise.","example":"Stay slow and controlled."},"sets":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of the set.","enum":["warmup","normal","failure","dropset"],"example":"normal"},"weight_kg":{"type":"number","nullable":true,"description":"The weight in kilograms.","example":100},"reps":{"type":"integer","nullable":true,"description":"The number of repetitions.","example":10},"distance_meters":{"type":"integer","nullable":true,"description":"The distance in meters.","example":null},"duration_seconds":{"type":"integer","nullable":true,"description":"The duration in seconds.","example":null},"custom_metric":{"type":"number","nullable":true,"description":"A custom metric for the set. Currently used for steps and floors.","example":null},"rep_range":{"type":"object","nullable":true,"description":"Range of reps for the set, if applicable","properties":{"start":{"type":"number","nullable":true,"description":"Starting rep count for the range","example":8},"end":{"type":"number","nullable":true,"description":"Ending rep count for the range","example":12}}}},"x-readme-ref-name":"PostRoutinesRequestSet"}}},"x-readme-ref-name":"PostRoutinesRequestExercise"}