Skip to main content
Question

Expected structured of an activity

  • February 2, 2025
  • 1 reply
  • 11 views

Forum|alt.badge.img

I am trying to integrate with the Strava API, but I found that my cycling activities recorded with my mobile have splits and only one long lap. However running activities recorded with my Sunnto watch have automatic laps and splits, and the laps I indicate for circuits workouts in my watch come as laps and  no splits. 

Is there any place where we can see the expected structured for activity types? When I check with API Docs I only find one example of activity type data. But, how to cover all possible outputs?  

1 reply

Jan_Mantau
Superuser
Forum|alt.badge.img+26
  • Superuser
  • 932 replies
  • February 2, 2025

Laps are something your recording device is responsible for. When it or you don’t create laps, there will be only the one.

Splits on the other side are calculated by Strava at least for for rides and runs, I don’t have experience with other activity types in this regard. But logically splits can only be created for activities that record distances.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept, you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings