Record a new workout set in the tracker system.
Permission | Description |
---|---|
tracker_workout_sets.create | Create tracker workout set |
Name | Type | Required | Description |
---|---|---|---|
start | string | Yes | Start datetime of the workout set |
workout_plan_exercise_id | int | No | Workout plan exercise ID (if applicable) |
exercise_id | int | Yes | Exercise ID |
is_replacement | boolean | No | Whether this set is a replacement |
rep_count | int | Yes | Number of repetitions |
weight | int | No | Weight used |
end | string | No | End datetime of the workout set |
notes | string | No | Optional notes |
<tracker workout set resource>
Status | Error Type | Reference |
---|---|---|
422 | Validation Error | Validation error |
401 | Unauthorized | Authentication error |
403 | Forbidden | Permission error |