{ "opencollection": "1.0.0", "info": { "name": "Wahoo Cloud Permissions Workouts API", "version": "v1" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.wahooligan.com/oauth/authorize", "accessTokenUrl": "https://api.wahooligan.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Workouts", "type": "folder" }, "items": [ { "info": { "name": "List Workouts", "type": "http" }, "http": { "method": "GET", "url": "https://api.wahooligan.com/v1/workouts", "params": [ { "name": "page", "value": "", "type": "query" }, { "name": "per_page", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.wahooligan.com/oauth/authorize", "accessTokenUrl": "https://api.wahooligan.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List Workouts" }, { "info": { "name": "Create Workout", "type": "http" }, "http": { "method": "POST", "url": "https://api.wahooligan.com/v1/workouts", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.wahooligan.com/oauth/authorize", "accessTokenUrl": "https://api.wahooligan.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create Workout" }, { "info": { "name": "Get Workout", "type": "http" }, "http": { "method": "GET", "url": "https://api.wahooligan.com/v1/workouts/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.wahooligan.com/oauth/authorize", "accessTokenUrl": "https://api.wahooligan.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get Workout" }, { "info": { "name": "Update Workout", "type": "http" }, "http": { "method": "PUT", "url": "https://api.wahooligan.com/v1/workouts/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.wahooligan.com/oauth/authorize", "accessTokenUrl": "https://api.wahooligan.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update Workout" }, { "info": { "name": "Delete Workout", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.wahooligan.com/v1/workouts/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.wahooligan.com/oauth/authorize", "accessTokenUrl": "https://api.wahooligan.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete Workout" } ] } ], "bundled": true }