{ "opencollection": "1.0.0", "info": { "name": "Aha! Account backups Idea subscriptions API", "version": "1.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://{account-domain}.aha.io/oauth/authorize", "accessTokenUrl": "https://{account-domain}.aha.io/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Idea subscriptions", "type": "folder" }, "items": [ { "info": { "name": "List subscriptions for an idea", "type": "http" }, "http": { "method": "GET", "url": "https://{account-domain}.aha.io/api/v1/api/v1/ideas/:idea_id/subscriptions", "params": [ { "name": "idea_id", "value": "", "type": "path", "description": "IdeaId identifier" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://{account-domain}.aha.io/oauth/authorize", "accessTokenUrl": "https://{account-domain}.aha.io/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List subscriptions for an idea" }, { "info": { "name": "Create an idea subscription", "type": "http" }, "http": { "method": "POST", "url": "https://{account-domain}.aha.io/api/v1/api/v1/ideas/:idea_id/subscriptions", "params": [ { "name": "idea_id", "value": "", "type": "path", "description": "IdeaId identifier" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://{account-domain}.aha.io/oauth/authorize", "accessTokenUrl": "https://{account-domain}.aha.io/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create an idea subscription" }, { "info": { "name": "Get a specific subscription for an idea", "type": "http" }, "http": { "method": "GET", "url": "https://{account-domain}.aha.io/api/v1/api/v1/ideas/:idea_id/subscriptions/:id", "params": [ { "name": "idea_id", "value": "", "type": "path", "description": "IdeaId identifier" }, { "name": "id", "value": "", "type": "path", "description": "Id identifier" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://{account-domain}.aha.io/oauth/authorize", "accessTokenUrl": "https://{account-domain}.aha.io/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get a specific subscription for an idea" }, { "info": { "name": "Delete an idea subscription", "type": "http" }, "http": { "method": "DELETE", "url": "https://{account-domain}.aha.io/api/v1/api/v1/ideas/:idea_id/subscriptions/:id", "params": [ { "name": "idea_id", "value": "", "type": "path", "description": "IdeaId identifier" }, { "name": "id", "value": "", "type": "path", "description": "Id identifier" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://{account-domain}.aha.io/oauth/authorize", "accessTokenUrl": "https://{account-domain}.aha.io/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete an idea subscription" } ] } ], "bundled": true }