{ "opencollection": "1.0.0", "info": { "name": "Polar AccessLink Cardio load Sleep API", "version": "v3" }, "items": [ { "info": { "name": "Sleep", "type": "folder" }, "items": [ { "info": { "name": "List nights", "type": "http" }, "http": { "method": "GET", "url": "https://www.polaraccesslink.com/v3/users/sleep", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://flow.polar.com/oauth2/authorization", "accessTokenUrl": "https://polarremote.com/v2/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List sleep data of user for the last 28 days." }, { "info": { "name": "Get Sleep", "type": "http" }, "http": { "method": "GET", "url": "https://www.polaraccesslink.com/v3/users/sleep/:date", "params": [ { "name": "date", "value": "", "type": "path", "description": "Date of sleep as ISO-8601 date string, example: \"2020-01-01\"" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://flow.polar.com/oauth2/authorization", "accessTokenUrl": "https://polarremote.com/v2/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get Users sleep data for given date." }, { "info": { "name": "Get available sleep times", "type": "http" }, "http": { "method": "GET", "url": "https://www.polaraccesslink.com/v3/users/sleep/available", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://flow.polar.com/oauth2/authorization", "accessTokenUrl": "https://polarremote.com/v2/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get the dates with sleep start and end times, where user has sleep data available in the last 28 days." } ] } ], "bundled": true }