Display Activity Details (BES2)
In the previous post we displayed all the activities a user has performed. Now let’s load the details of a given activity via the Activity API (eBike System 2) and display them. To do so we need to
- add another endpoint in activity service to fetch the activity details for a given activity ID
- add mock data for local development
- display the activity details in a sidenav that appear like part of the activity summary
- display activity details in the activities page
- display activity coordinates on a map
Note that in contrast to the Activity Records API (Smart System) most attributes of activity details belong to the activity itself. Details of trip such as altitude and coordinates are stored in nested arrays.

In the next post we will display activity statistics.