Summary
Extend the existing Intervals.icu integration to upload completed workout FIT files back to Intervals.icu after each session, alongside the existing read functionality (calendar, athlete profile, workout download).
Motivation
The current Intervals.icu integration is read-only. Users must manually export and upload FIT files to keep their Intervals.icu calendar up to date. Automating the write-back closes the loop and makes MaximumTrainer a first-class Intervals.icu client.
Acceptance Criteria
Summary
Extend the existing Intervals.icu integration to upload completed workout FIT files back to Intervals.icu after each session, alongside the existing read functionality (calendar, athlete profile, workout download).
Motivation
The current Intervals.icu integration is read-only. Users must manually export and upload FIT files to keep their Intervals.icu calendar up to date. Automating the write-back closes the loop and makes MaximumTrainer a first-class Intervals.icu client.
Acceptance Criteria
POST /api/v1/athlete/{id}/activitieswith the FIT file as multipart data