Having recently imported thousands of activities from Garmin Connect where I had lots of detail in activity “notes” (in their API, the “notes” go into the activity’s description field), Intervals.icu did not import any of the notes into its activity description field, which seams like a straightforward 1:1 relationship.
In Garmin Connect, the activity name is limited to just 68 characters, so using the “notes” is often required, at least for me. Besides, there’s a lot of detail that just doesn’t belong in a name, but is still very useful to have in terms of a training diary – especially when it’s searchable (which it is in lots of other popular training platforms).
Huh. I know notes (i.e. description) is available via their API when you get an activity (I’ve seen the payload). I thought import was done at the API level (but I admit I’ve never done an import at the code level, so I don’t know the details).
Still, if all Intervals gets is the original .fit file for every activity, then how did imported activities get names I had set in the Connect UI? Those all came across, and those wouldn’t be anywhere in the original .fit file either.
Are you connected to Strava as well?
If so, that’s where the names come from. Intervals disregards the activity file from Strava if the same activity comes in from Garmin Connect but keeps the Strava naming in sync.
The above is what is happening for for new activities. But given the fact that you have imported your full history from Garmin, you almost surely used the ‘Request full history’ method. That might include the modified activity names, not sure but possibly. Anyway, that method is basically the import of a huge zip file with stuff that Garmin provides. It’s not an API method, so Intervals has no control over what is in there. It all depends on what Garmin provides…
No, I’m only connected to Garmin (though I’m on Strava; Garmin feeds Strava and Intervals).
Got it. That makes sense. So what I perceive as a bug is likely on the Garmin side in that they aren’t providing notes as descriptions in this massive Zip file when “full history” is requested.
Hi all, my first post here on Intervals forum
So, if I understood correctly, when an activity (e.g. running session) has been recorded on Garmin Watch and “notes” have been added via Garmin Connect App to it, Intervals.icu is not able to import those notes cause the only thing it can process is the .fit file.
Am I correct?
If so, I guess the only way is to copy-paste from Garmin Connect to Intervals…
Hi thanks.
And do you think is possibile to have a scheduled job that every x minutes fetch GC API, gets notes of new workout and upload them to corresponding Intervals workout?
If so I can develop a super simple job that does the fetch + upload work and scheduled it via cronjob on my own server.
This is possible, but unless you want to pay thousands of $$$ for GC API access, the only way I know how to access the API as an end user who just wants to do simple batch operations that I think they should allow, is to piggy back off of the session token that gets generated when you sign in to connect.garmin.com. Ultimately, their web UI makes the same API calls you’d want to make to list activities and get their details (even update them). I was able to batch-update thousands of activities this way by executing a script in Chrome DevTools. It was clunky, but it worked. This is probably the most challenging part you’ll have to deal with.
On the Intervals.icu side, it’s really simple to use the API to update just about anything you’d want to update. For this, I just wrote a Node script that used my personal key to access the API.