07-08-2020 18:42
07-08-2020 18:42
Hi.
Fitbit API Sleep Response
What is this value mean?
awakeningsCount
awakeCount
awakeDuration
Answered! Go to the Best Answer.
Best Answer07-10-2020 13:46
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.
07-10-2020 13:46
Hi @inae,
Welcome to the forums!
awakeningsCount and awakeCount represent the same values, however, awakeningsCount is a deprecated value associated with our v1 Sleep endpoints. These values indicate how many times a user was awake during their sleep. If you haven't done so already, I recommend using our v1.2 sleep endpoints, which support Sleep Stages.
awakeDuration represents how long a user was awake during their sleep log. This value was also associated with our v1 sleep endpoints and is no longer used.
I hope this helps. Let me know if you have any additional questions.
Best Answer07-10-2020 13:46
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.
07-10-2020 13:46
Hi @inae,
Welcome to the forums!
awakeningsCount and awakeCount represent the same values, however, awakeningsCount is a deprecated value associated with our v1 Sleep endpoints. These values indicate how many times a user was awake during their sleep. If you haven't done so already, I recommend using our v1.2 sleep endpoints, which support Sleep Stages.
awakeDuration represents how long a user was awake during their sleep log. This value was also associated with our v1 sleep endpoints and is no longer used.
I hope this helps. Let me know if you have any additional questions.
Best Answer07-12-2020 07:01
07-12-2020 07:01
thank you, sir!
Best Answer