Skip to main content
Answered

ActivityZone documentation inconsistent with responses from API

  • January 27, 2023
  • 1 reply
  • 3 views

Forum|alt.badge.img+5

The API docs as well as the swagger spec define that the type of an ActivityZone can be one of ['heartrate', 'power']. However, the API also returns at least one other type, i.e. 'pace'. When using the swagger spec to validate or deserialize responses, this may lead to validation errors.

Is it possible to update the documentation and swagger spec with all supported types?

Thanks!

Best answer by SkippyVasquez

Thanks for letting us know. We have added a ticket to our backlog for a documentation improvement.

 

1 reply

SkippyVasquez
Strava
Forum|alt.badge.img+21

Thanks for letting us know. We have added a ticket to our backlog for a documentation improvement.