05-01-2015 08:59
05-01-2015 08:59
We are thinking of using the Fitbit Charge HR to track sleep data for clinical trial purposes.
The Fitbit Charge HR device will be populating the Fitbit app with sleep data, which we will then be pulling from the Fitbit web service as described here.
https://wiki.fitbit.com/display/API/API-Get-Sleep
If the user edits the sleep information after it has been saved from the Fitbit Charge HR in the Fitbit app, is there a way to know that it has been edited by the user when retreiving the sleep data from the Fitbit web service?
We would like to know if the user's sleep start time and duration has been edited by the user.
05-01-2015 10:43
05-01-2015 10:43
There is no way to distinguish between sleep logs created by Fitbit's auto-detection and those added/edited by people.
05-01-2015 14:11
05-01-2015 14:11
@adealmeida If I understand your question correctly you want to get notified when a user changes a sleep record so you can update data in your local database. If that is correct you should look at the subscription API documentation.