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

Response example in "Get sleep logs" docs doesn't exactly match actual response

In particular there's endTime key in the actual response I'm getting (from https://api.fitbit.com/1.2/user/-/sleep/date/2018-02-20.json😞

 

  "sleep": [
    {
      "dateOfSleep": "2018-02-20",
      "duration": 32220000,
      "efficiency": 92,
      "endTime": "2018-02-20T08:02:30.000",
      "infoCode": 0,
      "isMainSleep": true,
      "levels": {
...

 ..but there's no mention of endTime at https://dev.fitbit.com/build/reference/web-api/sleep/

Best Answer
0 Votes
0 REPLIES 0