04-25-2016 17:06
04-25-2016 17:06
Is there a way to retrieve a single activity by logId?
Best Answer04-26-2016 08:38
04-26-2016 08:38
it is /activities/{logId}.json - found this out by trial and error. If someone could point me to the page this on that would be great.
Best Answer04-26-2016 12:48
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
04-26-2016 12:48
@danielle98 wrote:
Is there a way to retrieve a single activity by logId?
Not officially. What is the use case? All of the information is returned in the Get Activity Logs List endpoint.
@danielle98 wrote:
it is /activities/{logId}.json - found this out by trial and error. If someone could point me to the page this on that would be great.
You discovered a hidden feature. Endpoints not documented are not officially supported.
Best Answer04-26-2016 14:30
04-26-2016 14:30
Best Answer04-27-2016 13:16
Community Moderator Alumni are previous members of the Moderation Team, which ensures conversations are friendly, factual, and on-topic. Moderators are here to answer questions, escalate bugs, and make sure your voice is heard by the larger Fitbit team. Learn more
04-27-2016 13:16
@danielle98 Yeah that's how it works. If you're looking for a specific activity you would have to look through the list that's returned.
If you're looking for a recently added or modified activity on a certain date, maybe comparing "lastModified" and/or "startTime" within the activities could help?
Best Answer