verify_garmin_upload
Verify that Garmin stored the exact workout you uploaded by comparing the sent payload against the fetched response, and get a list of any differences.
Instructions
Check that Garmin stored the workout that was actually sent.
Pass the payload given to upload_workout, and the response from get_workout_by_id for the workout it created. Returns the list of differences; an empty list means Garmin kept what was sent.
This compares against the sent payload, not against an assumed read shape — the difference matters, because get_workout_by_id returns a lossy projection that will happily agree with a wrong-units payload. It also catches a repeat count silently corrupted by a missing conditionTypeId.
Two things it cannot prove: whether a power target was stored as watts or as %FTP (the curated read drops the targetValueUnit field that distinguishes them), and whether the workout displays correctly on a head unit. Confirm those by opening the workout in Garmin Connect once.
Pure comparison, no network access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fetched | Yes | ||
| payload | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |