{ "opencollection": "1.0.0", "info": { "name": "Polar AccessLink Cardio load Users API", "version": "v3" }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "Register user", "type": "http" }, "http": { "method": "POST", "url": "https://www.polaraccesslink.com/v3/users", "body": { "type": "json", "data": "{}" }, "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": "Once partner has been authorized by user, partner must register the user before being able to access its data. API user-id and Polar User Id (polar-user-id) are interchangeable terms." }, { "info": { "name": "Get user information", "type": "http" }, "http": { "method": "GET", "url": "https://www.polaraccesslink.com/v3/users/:user-id", "params": [ { "name": "user-id", "value": "475", "type": "path", "description": "User identifier" } ], "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 user basic information.\nNote: Although it is possible to get users weight and height from this resource, the [get physical info](#get-physical-info) should be used instead." }, { "info": { "name": "Delete user", "type": "http" }, "http": { "method": "DELETE", "url": "https://www.polaraccesslink.com/v3/users/:user-id", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "User identifier" } ], "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": "When partner wishes no longer to receive user data, user can be de-registered. This will revoke the access token authorized by user." } ] } ], "bundled": true }