The documentation for SummarySeĝment states that activity_type can be either Run or Ride. But the actual return value can also be other activity types, so it probably would have to be an instance of ActivityType.
Solved
API: SummarySegment documentation

Best answer by Elliott
Hey @sascha,
Thanks for the feedback! We appreciate your input and have made note of it internally - good callout.
Reply
Login to the community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.