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.
Best Answer
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.
@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.
Best Answer