Add new sport over API

Hello,

I would like to support adding and removing individual sports for an athlete.

For example: Badminton

While looking at the API, I found this endpoint:

What I’m not fully clear about is how the default sport settings are handled.

Each sport has different defaults (power, heart rate, pace, etc.).

Are these defaults automatically defined by Intervals.icu, or does the client need to provide them?

In other words:

  • Is it sufficient to simply to use
    "types": ["Badminton"]
    and let Intervals.icu apply the correct default settings for that sport?

    • Or is the client expected to define and send the full set of sport-specific defaults?

If Intervals.icu applies the defaults automatically, would the recommended approach be to then read back the created sport settings and store them locally?

Thanks for any clarification.