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

Has there been a recent update to the Get Sleep Log by Date Range API?

ANSWERED

This API is designed to retrieve logs within a specified date range, and according to the reference, it has a limitation: “Maximum range: 100 days.”
In my tests, it used to allow fetching logs for 101 days — from the startDate up to 100 days later, inclusive of both the start and end dates.
However, recently (though I’m not sure exactly when it changed), it seems the number of retrievable days has been reduced by one.
Perhaps it has simply been corrected to return the accurate number of days, but...
Was there actually such a change?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi @carrotflakes 

I'm not sure if/when the Get Sleep Log endpoint supported more than 100 day date range.  The documentation is correct.  So, it sounds like a bug was probably fixed.

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

Hi @carrotflakes 

I'm not sure if/when the Get Sleep Log endpoint supported more than 100 day date range.  The documentation is correct.  So, it sounds like a bug was probably fixed.

Best Answer
0 Votes