Circadian bedtime period data (date range)
Changed onGet user's circadian bedtime period data for given date range. Maximum date range between from and to cannot be more than 28 days. <a href="https://support.polar.com/en/polar-sleepwise"> Supported devices </a>
Request
- Base URLhttps://www.polaraccesslink.com
- AuthOAuth 2Authorization codehttps://flow.polar.com/oauth2/authorizationToken URLhttps://polarremote.com/v2/oauth2/tokenScopesaccesslink.read_all
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Inclusive start date of range as ISO-8601 date string, example: "2022-01-01"
Inclusive end date of range as ISO-8601 date string, example: "2022-01-28"
Response
Request was successful.
Example response
[
{
"validity": "VALIDITY_ESTIMATE",
"quality": "CIRCADIAN_BEDTIME_QUALITY_COMPROMISED",
"result_type": "CIRCADIAN_BEDTIME_TYPE_HISTORY",
"period_start_time": "2022-11-20T21:18:30",
"period_end_time": "2022-11-21T05:18:30",
"preferred_sleep_period_start_time": "2022-11-20T21:18:30",
"preferred_sleep_period_end_time": "2022-11-21T05:18:30",
"sleep_gate_start_time": "2022-11-20T21:03:30",
"sleep_gate_end_time": "2022-11-20T21:33:30",
"sleep_timezone_offset_minutes": 120
}
]Changes
- breaking
the
/response's property format changed fromdatetodate-timefor status - breaking
the
/response's property format changed fromdatetodate-timefor status - breaking
the
/response's property format changed fromdatetodate-timefor status - breaking
the
/response's property format changed fromdatetodate-timefor status - breaking
the
/response's property format changed fromdatetodate-timefor status - breaking
the
/response's property format changed fromdatetodate-timefor status
- breaking
- info
api tag
SleepWise™added - info
api tag
SleepWise™ (Beta)removed
- info