{"action":"created","comment":{"url":"https://api.github.com/repos/relaxedws/drupal-relaxed/pulls/comments/46969549","id":46969549,"diff_hunk":"@@ -0,0 +1,40 @@\n+<?php\n+\n+/**\n+ * @file\n+ * Contains \\Drupal\\relaxed\\Plugin\\EndpointCheckInterface.\n+ */\n+\n+namespace Drupal\\relaxed\\Plugin;\n+\n+use Drupal\\Component\\Plugin\\PluginInspectionInterface;\n+use Drupal\\relaxed\\Entity\\EndpointInterface;\n+/**\n+ * Defines an interface for Endpoint check plugins.\n+ */\n+interface EndpointCheckInterface extends PluginInspectionInterface {\n+\n+  /**\n+   * Process the check based on the given Endpoint.\n+   *\n+   * @param \\Drupal\\relaxed\\Entity\\EndpointInterface $endpoint\n+   * @return mixed\n+   */\n+  public function execute(EndpointInterface $endpoint);\n+\n+  /**\n+   * Return true if check passes.\n+   *\n+   * @return boolean\n+   */\n+  public function getResult();\n+\n+  /**\n+   * Return a message relating to the check result.\n+   *\n+   * @return string\n+   */\n+  public function getMessage();\n+\n+","path":"src/Plugin/EndpointCheckInterface.php","position":39,"original_position":39,"commit_id":"93cc7b33f0299c8859a7cf4f7b4e306730ef36b1","original_commit_id":"93cc7b33f0299c8859a7cf4f7b4e306730ef36b1","user":{"login":"jeqq","id":2793969,"avatar_url":"https://avatars.githubusercontent.com/u/2793969?v=3","gravatar_id":"","url":"https://api.github.com/users/jeqq","html_url":"https://github.com/jeqq","followers_url":"https://api.github.com/users/jeqq/followers","following_url":"https://api.github.com/users/jeqq/following{/other_user}","gists_url":"https://api.github.com/users/jeqq/gists{/gist_id}","starred_url":"https://api.github.com/users/jeqq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeqq/subscriptions","organizations_url":"https://api.github.com/users/jeqq/orgs","repos_url":"https://api.github.com/users/jeqq/repos","events_url":"https://api.github.com/users/jeqq/events{/privacy}","received_events_url":"https://api.github.com/users/jeqq/received_events","type":"User","site_admin":false},"body":"Double empty line.","created_at":"2015-12-08T15:47:07Z","updated_at":"2015-12-08T15:47:07Z","html_url":"https://github.com/relaxedws/drupal-relaxed/pull/57#discussion_r46969549","pull_request_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/relaxedws/drupal-relaxed/pulls/comments/46969549"},"html":{"href":"https://github.com/relaxedws/drupal-relaxed/pull/57#discussion_r46969549"},"pull_request":{"href":"https://api.github.com/repos/relaxedws/drupal-relaxed/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/relaxedws/drupal-relaxed/pulls/57","id":52856334,"html_url":"https://github.com/relaxedws/drupal-relaxed/pull/57","diff_url":"https://github.com/relaxedws/drupal-relaxed/pull/57.diff","patch_url":"https://github.com/relaxedws/drupal-relaxed/pull/57.patch","issue_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/issues/57","number":57,"state":"open","locked":false,"title":"Endpoint check","user":{"login":"timmillwood","id":151519,"avatar_url":"https://avatars.githubusercontent.com/u/151519?v=3","gravatar_id":"","url":"https://api.github.com/users/timmillwood","html_url":"https://github.com/timmillwood","followers_url":"https://api.github.com/users/timmillwood/followers","following_url":"https://api.github.com/users/timmillwood/following{/other_user}","gists_url":"https://api.github.com/users/timmillwood/gists{/gist_id}","starred_url":"https://api.github.com/users/timmillwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmillwood/subscriptions","organizations_url":"https://api.github.com/users/timmillwood/orgs","repos_url":"https://api.github.com/users/timmillwood/repos","events_url":"https://api.github.com/users/timmillwood/events{/privacy}","received_events_url":"https://api.github.com/users/timmillwood/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-07T15:12:56Z","updated_at":"2015-12-08T15:47:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75e206f4ae0bd292c2799c64cf7078a8b1ec60e1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/pulls/57/commits","review_comments_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/pulls/57/comments","review_comment_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/pulls/comments{/number}","comments_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/issues/57/comments","statuses_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/statuses/93cc7b33f0299c8859a7cf4f7b4e306730ef36b1","head":{"label":"relaxedws:EndpointCheck","ref":"EndpointCheck","sha":"93cc7b33f0299c8859a7cf4f7b4e306730ef36b1","user":{"login":"relaxedws","id":10012156,"avatar_url":"https://avatars.githubusercontent.com/u/10012156?v=3","gravatar_id":"","url":"https://api.github.com/users/relaxedws","html_url":"https://github.com/relaxedws","followers_url":"https://api.github.com/users/relaxedws/followers","following_url":"https://api.github.com/users/relaxedws/following{/other_user}","gists_url":"https://api.github.com/users/relaxedws/gists{/gist_id}","starred_url":"https://api.github.com/users/relaxedws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relaxedws/subscriptions","organizations_url":"https://api.github.com/users/relaxedws/orgs","repos_url":"https://api.github.com/users/relaxedws/repos","events_url":"https://api.github.com/users/relaxedws/events{/privacy}","received_events_url":"https://api.github.com/users/relaxedws/received_events","type":"Organization","site_admin":false},"repo":{"id":20543126,"name":"drupal-relaxed","full_name":"relaxedws/drupal-relaxed","owner":{"login":"relaxedws","id":10012156,"avatar_url":"https://avatars.githubusercontent.com/u/10012156?v=3","gravatar_id":"","url":"https://api.github.com/users/relaxedws","html_url":"https://github.com/relaxedws","followers_url":"https://api.github.com/users/relaxedws/followers","following_url":"https://api.github.com/users/relaxedws/following{/other_user}","gists_url":"https://api.github.com/users/relaxedws/gists{/gist_id}","starred_url":"https://api.github.com/users/relaxedws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relaxedws/subscriptions","organizations_url":"https://api.github.com/users/relaxedws/orgs","repos_url":"https://api.github.com/users/relaxedws/repos","events_url":"https://api.github.com/users/relaxedws/events{/privacy}","received_events_url":"https://api.github.com/users/relaxedws/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/relaxedws/drupal-relaxed","description":"Github clone of the Relaxed Web Services module for Drupal","fork":false,"url":"https://api.github.com/repos/relaxedws/drupal-relaxed","forks_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/forks","keys_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/teams","hooks_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/hooks","issue_events_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/issues/events{/number}","events_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/events","assignees_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/assignees{/user}","branches_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/branches{/branch}","tags_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/tags","blobs_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/git/refs{/sha}","trees_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/statuses/{sha}","languages_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/languages","stargazers_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/stargazers","contributors_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/contributors","subscribers_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/subscribers","subscription_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/subscription","commits_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/commits{/sha}","git_commits_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/git/commits{/sha}","comments_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/comments{/number}","issue_comment_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/issues/comments{/number}","contents_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/contents/{+path}","compare_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/merges","archive_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/downloads","issues_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/issues{/number}","pulls_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/pulls{/number}","milestones_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/milestones{/number}","notifications_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/labels{/name}","releases_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/releases{/id}","created_at":"2014-06-05T22:01:48Z","updated_at":"2015-10-31T14:14:41Z","pushed_at":"2015-12-08T15:31:34Z","git_url":"git://github.com/relaxedws/drupal-relaxed.git","ssh_url":"git@github.com:relaxedws/drupal-relaxed.git","clone_url":"https://github.com/relaxedws/drupal-relaxed.git","svn_url":"https://github.com/relaxedws/drupal-relaxed","homepage":"https://drupal.org/project/relaxed","size":1009,"stargazers_count":7,"watchers_count":7,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":7,"default_branch":"8.x-1.x"}},"base":{"label":"relaxedws:8.x-1.x","ref":"8.x-1.x","sha":"29e04977ea9adfb3950304dbe216250fb2dfe70e","user":{"login":"relaxedws","id":10012156,"avatar_url":"https://avatars.githubusercontent.com/u/10012156?v=3","gravatar_id":"","url":"https://api.github.com/users/relaxedws","html_url":"https://github.com/relaxedws","followers_url":"https://api.github.com/users/relaxedws/followers","following_url":"https://api.github.com/users/relaxedws/following{/other_user}","gists_url":"https://api.github.com/users/relaxedws/gists{/gist_id}","starred_url":"https://api.github.com/users/relaxedws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relaxedws/subscriptions","organizations_url":"https://api.github.com/users/relaxedws/orgs","repos_url":"https://api.github.com/users/relaxedws/repos","events_url":"https://api.github.com/users/relaxedws/events{/privacy}","received_events_url":"https://api.github.com/users/relaxedws/received_events","type":"Organization","site_admin":false},"repo":{"id":20543126,"name":"drupal-relaxed","full_name":"relaxedws/drupal-relaxed","owner":{"login":"relaxedws","id":10012156,"avatar_url":"https://avatars.githubusercontent.com/u/10012156?v=3","gravatar_id":"","url":"https://api.github.com/users/relaxedws","html_url":"https://github.com/relaxedws","followers_url":"https://api.github.com/users/relaxedws/followers","following_url":"https://api.github.com/users/relaxedws/following{/other_user}","gists_url":"https://api.github.com/users/relaxedws/gists{/gist_id}","starred_url":"https://api.github.com/users/relaxedws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relaxedws/subscriptions","organizations_url":"https://api.github.com/users/relaxedws/orgs","repos_url":"https://api.github.com/users/relaxedws/repos","events_url":"https://api.github.com/users/relaxedws/events{/privacy}","received_events_url":"https://api.github.com/users/relaxedws/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/relaxedws/drupal-relaxed","description":"Github clone of the Relaxed Web Services module for Drupal","fork":false,"url":"https://api.github.com/repos/relaxedws/drupal-relaxed","forks_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/forks","keys_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/teams","hooks_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/hooks","issue_events_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/issues/events{/number}","events_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/events","assignees_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/assignees{/user}","branches_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/branches{/branch}","tags_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/tags","blobs_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/git/refs{/sha}","trees_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/statuses/{sha}","languages_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/languages","stargazers_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/stargazers","contributors_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/contributors","subscribers_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/subscribers","subscription_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/subscription","commits_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/commits{/sha}","git_commits_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/git/commits{/sha}","comments_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/comments{/number}","issue_comment_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/issues/comments{/number}","contents_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/contents/{+path}","compare_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/merges","archive_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/downloads","issues_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/issues{/number}","pulls_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/pulls{/number}","milestones_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/milestones{/number}","notifications_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/labels{/name}","releases_url":"https://api.github.com/repos/relaxedws/drupal-relaxed/releases{/id}","created_at":"2014-06-05T22:01:48Z","updated_at":"2015-10-31T14:14:41Z","pushed_at":"2015-12-08T15:31:34Z","git_url":"git://github.com/relaxedws/drupal-relaxed.git","ssh_url":"git@github.com:relaxedws/drupal-relaxed.git","clone_url":"https://github.com/relaxedws/drupal-relaxed.git","svn_url":"https://github.com/relaxedws/drupal-relaxed","homepage":"https://drupal.org/project/relaxed","size":1009,"stargazers_count":7,"watchers_count":7,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":7,"default_branch":"8.x-1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/relaxedws/drupal-relaxed/pulls/57"},"html":{"href":"https://github.com/relaxedws/drupal-relaxed/pull/57"},"issue":{"href":"https://api.github.com/repos/relaxedws/drupal-relaxed/issues/57"},"comments":{"href":"https://api.github.com/repos/relaxedws/drupal-relaxed/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/relaxedws/drupal-relaxed/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/relaxedws/drupal-relaxed/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/relaxedws/drupal-relaxed/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/relaxedws/drupal-relaxed/statuses/93cc7b33f0299c8859a7cf4f7b4e306730ef36b1"}}}}