{"action":"created","comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments/181597172","pull_request_review_id":112251477,"id":181597172,"diff_hunk":"@@ -0,0 +1,60 @@\n+import SearchLogger from '../logger/logger';\n+\n+class ValidationService {\n+\tconstructor() {}\n+\n+\tvalidateSearchResult(result) {\n+\n+\t\tconst subscriptionCache = {};\n+\n+\t\tconst getSubscription = (rid, uid) => {console.log(rid,subscriptionCache.hasOwnProperty(rid));","path":"packages/rocketchat-search/server/service/validationService.js","position":10,"original_position":10,"commit_id":"3e51c474a84def670b79a161edca89d33b832802","original_commit_id":"3e51c474a84def670b79a161edca89d33b832802","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [A space is required after ','. (comma-spacing)](https://app.codacy.com/app/RocketChat/Rocket-Chat/pullRequest?prid=1424295)","created_at":"2018-04-15T21:11:23Z","updated_at":"2018-04-15T21:11:23Z","html_url":"https://github.com/RocketChat/Rocket.Chat/pull/10110#discussion_r181597172","pull_request_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/10110","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments/181597172"},"html":{"href":"https://github.com/RocketChat/Rocket.Chat/pull/10110#discussion_r181597172"},"pull_request":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/10110"}}},"pull_request":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/10110","id":174500216,"html_url":"https://github.com/RocketChat/Rocket.Chat/pull/10110","diff_url":"https://github.com/RocketChat/Rocket.Chat/pull/10110.diff","patch_url":"https://github.com/RocketChat/Rocket.Chat/pull/10110.patch","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/10110","number":10110,"state":"open","locked":false,"title":"[NEW] Add Search Provider Framework","user":{"login":"tkurz","id":1265541,"avatar_url":"https://avatars1.githubusercontent.com/u/1265541?v=4","gravatar_id":"","url":"https://api.github.com/users/tkurz","html_url":"https://github.com/tkurz","followers_url":"https://api.github.com/users/tkurz/followers","following_url":"https://api.github.com/users/tkurz/following{/other_user}","gists_url":"https://api.github.com/users/tkurz/gists{/gist_id}","starred_url":"https://api.github.com/users/tkurz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkurz/subscriptions","organizations_url":"https://api.github.com/users/tkurz/orgs","repos_url":"https://api.github.com/users/tkurz/repos","events_url":"https://api.github.com/users/tkurz/events{/privacy}","received_events_url":"https://api.github.com/users/tkurz/received_events","type":"User","site_admin":false},"body":"@RocketChat/core , @mrsimpson , @geekgonecrazy , @engelgabriel, @rodrigok\r\nRelates #8381, #9651, #8714, #1615\r\n\r\n## Rocket.Chat Search Providers\r\n\r\nIn this pull request I introdude a provider concept for chatpal search. Beside the providerService\r\nitself it contains 2 reference implementations:\r\n\r\n1. *The Default Provider* (package rocketchat-search), which uses the messageSearch function of Rocket.Chat based on MongoDB and rebuilds the current search interface,\r\n2. *The Chatpal Provider* (package chatpal-search), which uses an external Service based in Apache Solr. The service can be hosted on-site (and can be downloaded from dockerhub) or be used as a service (the API key can be generated on RC Admin directly.\r\n\r\nIn addition to the 2 packages it adds some i18n variables and does smaller adaptions to the result model of the messageSearch function.\r\n\r\n### Providers\r\n\r\nA new Provider just extends the provider class and registers itself in the *SearchProviderService*.\r\n```ecmascript 6\r\nclass MyProvider extends SearchProvider {\r\n\tconstructor() {\r\n\t\tsuper('myProvider'); //a unique id for the provider\r\n\t};\r\n\t\r\n\tsearch(text, context, payload, callback) {\r\n\t\t//do some search and call the callback with the result\r\n\t};\r\n}\r\n\r\nsearchProviderService.register(new MyProvider());\r\n```\r\n\r\n### Settings\r\nIn order to enable Settings within the admin UI for your own provider, you can add it (e.g. in the constructor).\r\n```ecmascript 6\r\nthis._settings.add('PageSize', 'int', 15, {\r\n\t\t\ti18nLabel: 'Search_Page_Size'\r\n\t\t});\r\n```\r\nThe setting values are loaded, when you use your provider. The values can be easily accessed.\r\n```ecmascript 6\r\nthis._settings.get('PageSize')\r\n```\r\n\r\nThe settings can be set in *Search* section in the admin ui:\r\n<img width=\"1036\" alt=\"rc-search-admin-ui\" src=\"https://user-images.githubusercontent.com/1265541/37309861-78a36860-2642-11e8-8b1e-bfd839e30a5e.png\">\r\n\r\n### Search UI\r\nSearch provider can have their own result template. The template is loaded with data.\r\n```ecmascript 6\r\n{\r\n searching, //reactive var if search results are loading\r\n result, //reactive var with the result \r\n text, //reactive var with the search text\r\n settings //the settings of the provider,\r\n parentPayload, //the main search payload (not reset for new searches)\r\n payload, //the payload (reseted when new search is issued from search field)\r\n search //the search function\r\n}\r\n```\r\n\r\nThe default search ui looks like the existing ones:\r\n\r\n<img width=\"388\" alt=\"default-search\" src=\"https://user-images.githubusercontent.com/1265541/37310581-a44fcbfa-2644-11e8-9fb0-297b8395d571.png\">\r\n\r\nThe chatpal UI supports also rooms and users and looks like this:\r\n\r\n<img width=\"407\" alt=\"chatpal-search\" src=\"https://user-images.githubusercontent.com/1265541/37310588-a9182862-2644-11e8-8002-3a14d2465d9d.png\">\r\n\r\n### Search Result\r\nIn order to provide a proper validation of the results the search function of the provider must follow at the following (extendable) format:\r\n```ecmascript 6\r\n{\r\n  message: {\r\n    docs:[{_id},...]\r\n  },\r\n  room: {\r\n    docs:[{_id},...]\r\n  },\r\n  user: {\r\n    docs:[{_id},...]\r\n  }\r\n}\r\n```\r\n\r\nI am happily looking forward to your comments and hope you like my approach!","created_at":"2018-03-12T21:29:49Z","updated_at":"2018-04-15T21:11:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f7b72be0298d44a491646298cb68f70bf64988d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"graywolf336","id":850391,"avatar_url":"https://avatars1.githubusercontent.com/u/850391?v=4","gravatar_id":"","url":"https://api.github.com/users/graywolf336","html_url":"https://github.com/graywolf336","followers_url":"https://api.github.com/users/graywolf336/followers","following_url":"https://api.github.com/users/graywolf336/following{/other_user}","gists_url":"https://api.github.com/users/graywolf336/gists{/gist_id}","starred_url":"https://api.github.com/users/graywolf336/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graywolf336/subscriptions","organizations_url":"https://api.github.com/users/graywolf336/orgs","repos_url":"https://api.github.com/users/graywolf336/repos","events_url":"https://api.github.com/users/graywolf336/events{/privacy}","received_events_url":"https://api.github.com/users/graywolf336/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones/109","html_url":"https://github.com/RocketChat/Rocket.Chat/milestone/109","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones/109/labels","id":3169850,"number":109,"title":"0.64.0","description":"","creator":{"login":"rodrigok","id":234261,"avatar_url":"https://avatars1.githubusercontent.com/u/234261?v=4","gravatar_id":"","url":"https://api.github.com/users/rodrigok","html_url":"https://github.com/rodrigok","followers_url":"https://api.github.com/users/rodrigok/followers","following_url":"https://api.github.com/users/rodrigok/following{/other_user}","gists_url":"https://api.github.com/users/rodrigok/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigok/subscriptions","organizations_url":"https://api.github.com/users/rodrigok/orgs","repos_url":"https://api.github.com/users/rodrigok/repos","events_url":"https://api.github.com/users/rodrigok/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigok/received_events","type":"User","site_admin":false},"open_issues":107,"closed_issues":23,"state":"open","created_at":"2018-03-07T19:46:09Z","updated_at":"2018-04-15T05:23:30Z","due_on":"2018-04-27T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/10110/commits","review_comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/10110/comments","review_comment_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/10110/comments","statuses_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/statuses/3e51c474a84def670b79a161edca89d33b832802","head":{"label":"redlink-gmbh:#8381-search_provider_concept","ref":"#8381-search_provider_concept","sha":"3e51c474a84def670b79a161edca89d33b832802","user":{"login":"redlink-gmbh","id":5267901,"avatar_url":"https://avatars0.githubusercontent.com/u/5267901?v=4","gravatar_id":"","url":"https://api.github.com/users/redlink-gmbh","html_url":"https://github.com/redlink-gmbh","followers_url":"https://api.github.com/users/redlink-gmbh/followers","following_url":"https://api.github.com/users/redlink-gmbh/following{/other_user}","gists_url":"https://api.github.com/users/redlink-gmbh/gists{/gist_id}","starred_url":"https://api.github.com/users/redlink-gmbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redlink-gmbh/subscriptions","organizations_url":"https://api.github.com/users/redlink-gmbh/orgs","repos_url":"https://api.github.com/users/redlink-gmbh/repos","events_url":"https://api.github.com/users/redlink-gmbh/events{/privacy}","received_events_url":"https://api.github.com/users/redlink-gmbh/received_events","type":"Organization","site_admin":false},"repo":{"id":95858811,"name":"Rocket.Chat","full_name":"redlink-gmbh/Rocket.Chat","owner":{"login":"redlink-gmbh","id":5267901,"avatar_url":"https://avatars0.githubusercontent.com/u/5267901?v=4","gravatar_id":"","url":"https://api.github.com/users/redlink-gmbh","html_url":"https://github.com/redlink-gmbh","followers_url":"https://api.github.com/users/redlink-gmbh/followers","following_url":"https://api.github.com/users/redlink-gmbh/following{/other_user}","gists_url":"https://api.github.com/users/redlink-gmbh/gists{/gist_id}","starred_url":"https://api.github.com/users/redlink-gmbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redlink-gmbh/subscriptions","organizations_url":"https://api.github.com/users/redlink-gmbh/orgs","repos_url":"https://api.github.com/users/redlink-gmbh/repos","events_url":"https://api.github.com/users/redlink-gmbh/events{/privacy}","received_events_url":"https://api.github.com/users/redlink-gmbh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/redlink-gmbh/Rocket.Chat","description":"Have your own Slack like online chat, built with Meteor.","fork":true,"url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat","forks_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/forks","keys_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/teams","hooks_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/hooks","issue_events_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/issues/events{/number}","events_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/events","assignees_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/assignees{/user}","branches_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/branches{/branch}","tags_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/tags","blobs_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/statuses/{sha}","languages_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/languages","stargazers_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/stargazers","contributors_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/contributors","subscribers_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/subscribers","subscription_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/subscription","commits_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/contents/{+path}","compare_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/merges","archive_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/downloads","issues_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/issues{/number}","pulls_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/pulls{/number}","milestones_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/milestones{/number}","notifications_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/labels{/name}","releases_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/releases{/id}","deployments_url":"https://api.github.com/repos/redlink-gmbh/Rocket.Chat/deployments","created_at":"2017-06-30T06:56:54Z","updated_at":"2018-03-14T11:02:38Z","pushed_at":"2018-04-15T21:07:48Z","git_url":"git://github.com/redlink-gmbh/Rocket.Chat.git","ssh_url":"git@github.com:redlink-gmbh/Rocket.Chat.git","clone_url":"https://github.com/redlink-gmbh/Rocket.Chat.git","svn_url":"https://github.com/redlink-gmbh/Rocket.Chat","homepage":"https://rocket.chat/","size":65601,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RocketChat:develop","ref":"develop","sha":"c4c0f67c911a663aa9ffe8fb67bf6890b70cb7b8","user":{"login":"RocketChat","id":12508788,"avatar_url":"https://avatars1.githubusercontent.com/u/12508788?v=4","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"repo":{"id":35866694,"name":"Rocket.Chat","full_name":"RocketChat/Rocket.Chat","owner":{"login":"RocketChat","id":12508788,"avatar_url":"https://avatars1.githubusercontent.com/u/12508788?v=4","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RocketChat/Rocket.Chat","description":"Have your own Slack like online chat, built with Meteor.","fork":false,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat","forks_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/forks","keys_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/teams","hooks_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/hooks","issue_events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/events{/number}","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/events","assignees_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/assignees{/user}","branches_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/branches{/branch}","tags_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/tags","blobs_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/statuses/{sha}","languages_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/languages","stargazers_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/stargazers","contributors_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/contributors","subscribers_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/subscribers","subscription_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/subscription","commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/contents/{+path}","compare_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/merges","archive_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/downloads","issues_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues{/number}","pulls_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls{/number}","milestones_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones{/number}","notifications_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels{/name}","releases_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/releases{/id}","deployments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/deployments","created_at":"2015-05-19T07:36:09Z","updated_at":"2018-04-15T20:01:22Z","pushed_at":"2018-04-15T21:07:52Z","git_url":"git://github.com/RocketChat/Rocket.Chat.git","ssh_url":"git@github.com:RocketChat/Rocket.Chat.git","clone_url":"https://github.com/RocketChat/Rocket.Chat.git","svn_url":"https://github.com/RocketChat/Rocket.Chat","homepage":"https://rocket.chat/","size":65249,"stargazers_count":17377,"watchers_count":17377,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3711,"mirror_url":null,"archived":false,"open_issues_count":2084,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":3711,"open_issues":2084,"watchers":17377,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/10110"},"html":{"href":"https://github.com/RocketChat/Rocket.Chat/pull/10110"},"issue":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/10110"},"comments":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/10110/comments"},"review_comments":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/10110/comments"},"review_comment":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/10110/commits"},"statuses":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/statuses/3e51c474a84def670b79a161edca89d33b832802"}},"author_association":"NONE"}}
{"actor":{"display_login":"codacy-bot"}}