05-19-2021 05:41
05-19-2021 05:41
I have been looking at sleep log data and trying to discern whether it has been modified since it's original creation date. Unfortunately, it does not appear that the standard API calls support this information. So my question is...
How can I tell if the sleep log entry I am looking at has been modified from the original data?
I know that from my own testing in the App that if you modify data a pop-up will give you a warning. How can I tell what days I edited or manually entered?
Thanks for the help!
Answered! Go to the Best Answer.
06-02-2021 11:30
06-02-2021 11:30
Hi @truenorth1
The sleep log data through the Web APIs does not display the created and/or modified date. I can create an enhancement to add this information. If you implement the subscription API in your application, you will receive a webhook notification when the user adds a new sleep log for a specific date, and you'll receive another notification when the data has been updated or deleted. Tracking the webhook notifications could be a way to track when the data has been updated or modified.
Gordon
05-20-2021 04:56
05-20-2021 04:56
Response from the support team:
It's not possible to see any sleep history change on the Fitbit app. If a change is made, is not possible to undo it or see the previous information history.
You can download your sleep data history and use it as a back up to compare any further changes. For more information, see: How do I export my Fitbit account data?
This seems like a pretty big oversight. How can someone ensure the integrity of data when basic metadata like modified/created times are not available?
06-02-2021 11:30
06-02-2021 11:30
Hi @truenorth1
The sleep log data through the Web APIs does not display the created and/or modified date. I can create an enhancement to add this information. If you implement the subscription API in your application, you will receive a webhook notification when the user adds a new sleep log for a specific date, and you'll receive another notification when the data has been updated or deleted. Tracking the webhook notifications could be a way to track when the data has been updated or modified.
Gordon
06-07-2021 05:27
06-07-2021 05:27
@Gordon-Can enhancement would to include those two field would be great! Is it possible to track enhancements as a community user?
Thanks for the information on the web-hooks. This could help solve the issue for new data, however I would still like to be able to track changed historical data as well.
06-07-2021 07:04
06-07-2021 07:04
@truenorth1 We don't have a way for the community to track enhancements. Everytime we create a ticket, we add the community thread to the ticket so we can update the thread when the ticket has been resolved.