Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is this Api response value?

ANSWERED

Hi.

 

Fitbit API Sleep Response

What is this value mean?


awakeningsCount
awakeCount
awakeDuration

 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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.

View best answer in original post

Best Answer
0 Votes
2 REPLIES 2

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 Answer
0 Votes

thank you, sir!

Best Answer
0 Votes