Sport settings work against the live API again
Reads were silently broken — the models expected legacy field names, so the athlete profile parsed zero embedded sport settings and threshold fields came back empty. Writes had the mirror-image bug. Both now use the documented API field names (sportSettings, lthr, threshold_pace, types[]), verified against a live account. icu_apply_sport_settings also failed with HTTP 405 on every call (POST → PUT); its never-functional oldest_date parameter is gone. Contributed by @jorge-huxley.
Indoor FTP
indoor_ftp is now readable and writable across the sport settings tools, the athlete profile, and the intervals-icu://athlete/profile resource.
Notes
- New
recalc_hr_zonesparameter (defaulttrue) onicu_update_sport_settings. pace_thresholdandswim_thresholdare now rejected in the same call — the API stores one pace triple per record, so passing both silently lost one.- Threshold fields are unified across all responses (
ftp_watts,indoor_ftp_watts,fthr_bpm, formatted paces) — information-preserving shape change, minor under the SemVer contract.
Full Changelog: v4.1.0...v4.2.0