{ "opencollection": "1.0.0", "info": { "name": "Aha! Account backups Idea comments 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 comments", "type": "folder" }, "items": [ { "info": { "name": "List idea comments for an idea", "type": "http" }, "http": { "method": "GET", "url": "https://{account-domain}.aha.io/api/v1/api/v1/ideas/:idea_id/idea_comments", "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": "Idea comments can appear in ideas portals.\nTo reply to an idea_comment, specify the parent_idea_comment_id. Its visibility\nwill come from its parent idea comment and cannot be overridden." }, { "info": { "name": "Create an idea comment for an idea", "type": "http" }, "http": { "method": "POST", "url": "https://{account-domain}.aha.io/api/v1/api/v1/ideas/:idea_id/idea_comments", "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": "Idea comments can appear in ideas portals.\nTo reply to an idea_comment, specify the parent_idea_comment_id. Its visibility\nwill come from its parent idea comment and cannot be overridden." }, { "info": { "name": "Mark an idea comment as spam", "type": "http" }, "http": { "method": "PUT", "url": "https://{account-domain}.aha.io/api/v1/api/v1/idea_comments/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Id 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": "Idea comments can appear in ideas portals.\nTo reply to an idea_comment, specify the parent_idea_comment_id. Its visibility\nwill come from its parent idea comment and cannot be overridden." }, { "info": { "name": "Delete an idea comment", "type": "http" }, "http": { "method": "DELETE", "url": "https://{account-domain}.aha.io/api/v1/api/v1/ideas/:idea_id/idea_comments/: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": "Idea comments can appear in ideas portals.\nTo reply to an idea_comment, specify the parent_idea_comment_id. Its visibility\nwill come from its parent idea comment and cannot be overridden." } ] } ], "bundled": true }