{"action":"created","comment":{"url":"https://api.github.com/repos/code-check/github-api-scala/pulls/comments/30669567","id":30669567,"diff_hunk":"@@ -0,0 +1,112 @@\n+\n+import org.scalatest.FunSpec\n+import org.scalatest.BeforeAndAfter\n+import scala.concurrent.Await\n+\n+import codecheck.github.models.Webhook\n+import codecheck.github.models.WebhookConfig\n+import codecheck.github.models.WebhookInput\n+import codecheck.github.models.WebhookUpdateInput\n+\n+\n+class WebhookOpSpec extends FunSpec with Constants with BeforeAndAfter {\n+\n+\tval gURL = generateRandomWord;","path":"src/test/scala/WebhookOpSpec.scala","position":14,"original_position":14,"commit_id":"5095bfb2add1c8545c87162203b1237d8e4144e1","original_commit_id":"5095bfb2add1c8545c87162203b1237d8e4144e1","user":{"login":"shunjikonishi","id":2201333,"avatar_url":"https://avatars.githubusercontent.com/u/2201333?v=3","gravatar_id":"","url":"https://api.github.com/users/shunjikonishi","html_url":"https://github.com/shunjikonishi","followers_url":"https://api.github.com/users/shunjikonishi/followers","following_url":"https://api.github.com/users/shunjikonishi/following{/other_user}","gists_url":"https://api.github.com/users/shunjikonishi/gists{/gist_id}","starred_url":"https://api.github.com/users/shunjikonishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shunjikonishi/subscriptions","organizations_url":"https://api.github.com/users/shunjikonishi/orgs","repos_url":"https://api.github.com/users/shunjikonishi/repos","events_url":"https://api.github.com/users/shunjikonishi/events{/privacy}","received_events_url":"https://api.github.com/users/shunjikonishi/received_events","type":"User","site_admin":false},"body":"It is better to use valid github webhook application.\r\nYou can use \r\n\r\nhttp://github-hook.herokuapp.com/hook","created_at":"2015-05-20T03:44:59Z","updated_at":"2015-05-20T03:44:59Z","html_url":"https://github.com/code-check/github-api-scala/pull/26#discussion_r30669567","pull_request_url":"https://api.github.com/repos/code-check/github-api-scala/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/code-check/github-api-scala/pulls/comments/30669567"},"html":{"href":"https://github.com/code-check/github-api-scala/pull/26#discussion_r30669567"},"pull_request":{"href":"https://api.github.com/repos/code-check/github-api-scala/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/code-check/github-api-scala/pulls/26","id":35606140,"html_url":"https://github.com/code-check/github-api-scala/pull/26","diff_url":"https://github.com/code-check/github-api-scala/pull/26.diff","patch_url":"https://github.com/code-check/github-api-scala/pull/26.patch","issue_url":"https://api.github.com/repos/code-check/github-api-scala/issues/26","number":26,"state":"open","locked":false,"title":"[WIP] #4 - webhookAPI","user":{"login":"fanwashere","id":6350939,"avatar_url":"https://avatars.githubusercontent.com/u/6350939?v=3","gravatar_id":"","url":"https://api.github.com/users/fanwashere","html_url":"https://github.com/fanwashere","followers_url":"https://api.github.com/users/fanwashere/followers","following_url":"https://api.github.com/users/fanwashere/following{/other_user}","gists_url":"https://api.github.com/users/fanwashere/gists{/gist_id}","starred_url":"https://api.github.com/users/fanwashere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanwashere/subscriptions","organizations_url":"https://api.github.com/users/fanwashere/orgs","repos_url":"https://api.github.com/users/fanwashere/repos","events_url":"https://api.github.com/users/fanwashere/events{/privacy}","received_events_url":"https://api.github.com/users/fanwashere/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-18T06:40:22Z","updated_at":"2015-05-20T03:44:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7cf33172add7ab315ee0b3cfd2bb58f18d4680be","assignee":{"login":"shunjikonishi","id":2201333,"avatar_url":"https://avatars.githubusercontent.com/u/2201333?v=3","gravatar_id":"","url":"https://api.github.com/users/shunjikonishi","html_url":"https://github.com/shunjikonishi","followers_url":"https://api.github.com/users/shunjikonishi/followers","following_url":"https://api.github.com/users/shunjikonishi/following{/other_user}","gists_url":"https://api.github.com/users/shunjikonishi/gists{/gist_id}","starred_url":"https://api.github.com/users/shunjikonishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shunjikonishi/subscriptions","organizations_url":"https://api.github.com/users/shunjikonishi/orgs","repos_url":"https://api.github.com/users/shunjikonishi/repos","events_url":"https://api.github.com/users/shunjikonishi/events{/privacy}","received_events_url":"https://api.github.com/users/shunjikonishi/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/code-check/github-api-scala/pulls/26/commits","review_comments_url":"https://api.github.com/repos/code-check/github-api-scala/pulls/26/comments","review_comment_url":"https://api.github.com/repos/code-check/github-api-scala/pulls/comments{/number}","comments_url":"https://api.github.com/repos/code-check/github-api-scala/issues/26/comments","statuses_url":"https://api.github.com/repos/code-check/github-api-scala/statuses/5095bfb2add1c8545c87162203b1237d8e4144e1","head":{"label":"code-check:4-webhookAPI","ref":"4-webhookAPI","sha":"5095bfb2add1c8545c87162203b1237d8e4144e1","user":{"login":"code-check","id":11714208,"avatar_url":"https://avatars.githubusercontent.com/u/11714208?v=3","gravatar_id":"","url":"https://api.github.com/users/code-check","html_url":"https://github.com/code-check","followers_url":"https://api.github.com/users/code-check/followers","following_url":"https://api.github.com/users/code-check/following{/other_user}","gists_url":"https://api.github.com/users/code-check/gists{/gist_id}","starred_url":"https://api.github.com/users/code-check/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-check/subscriptions","organizations_url":"https://api.github.com/users/code-check/orgs","repos_url":"https://api.github.com/users/code-check/repos","events_url":"https://api.github.com/users/code-check/events{/privacy}","received_events_url":"https://api.github.com/users/code-check/received_events","type":"Organization","site_admin":false},"repo":{"id":33969614,"name":"github-api-scala","full_name":"code-check/github-api-scala","owner":{"login":"code-check","id":11714208,"avatar_url":"https://avatars.githubusercontent.com/u/11714208?v=3","gravatar_id":"","url":"https://api.github.com/users/code-check","html_url":"https://github.com/code-check","followers_url":"https://api.github.com/users/code-check/followers","following_url":"https://api.github.com/users/code-check/following{/other_user}","gists_url":"https://api.github.com/users/code-check/gists{/gist_id}","starred_url":"https://api.github.com/users/code-check/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-check/subscriptions","organizations_url":"https://api.github.com/users/code-check/orgs","repos_url":"https://api.github.com/users/code-check/repos","events_url":"https://api.github.com/users/code-check/events{/privacy}","received_events_url":"https://api.github.com/users/code-check/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/code-check/github-api-scala","description":"GitHubAPI wrapper for scala","fork":false,"url":"https://api.github.com/repos/code-check/github-api-scala","forks_url":"https://api.github.com/repos/code-check/github-api-scala/forks","keys_url":"https://api.github.com/repos/code-check/github-api-scala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/code-check/github-api-scala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/code-check/github-api-scala/teams","hooks_url":"https://api.github.com/repos/code-check/github-api-scala/hooks","issue_events_url":"https://api.github.com/repos/code-check/github-api-scala/issues/events{/number}","events_url":"https://api.github.com/repos/code-check/github-api-scala/events","assignees_url":"https://api.github.com/repos/code-check/github-api-scala/assignees{/user}","branches_url":"https://api.github.com/repos/code-check/github-api-scala/branches{/branch}","tags_url":"https://api.github.com/repos/code-check/github-api-scala/tags","blobs_url":"https://api.github.com/repos/code-check/github-api-scala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/code-check/github-api-scala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/code-check/github-api-scala/git/refs{/sha}","trees_url":"https://api.github.com/repos/code-check/github-api-scala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/code-check/github-api-scala/statuses/{sha}","languages_url":"https://api.github.com/repos/code-check/github-api-scala/languages","stargazers_url":"https://api.github.com/repos/code-check/github-api-scala/stargazers","contributors_url":"https://api.github.com/repos/code-check/github-api-scala/contributors","subscribers_url":"https://api.github.com/repos/code-check/github-api-scala/subscribers","subscription_url":"https://api.github.com/repos/code-check/github-api-scala/subscription","commits_url":"https://api.github.com/repos/code-check/github-api-scala/commits{/sha}","git_commits_url":"https://api.github.com/repos/code-check/github-api-scala/git/commits{/sha}","comments_url":"https://api.github.com/repos/code-check/github-api-scala/comments{/number}","issue_comment_url":"https://api.github.com/repos/code-check/github-api-scala/issues/comments{/number}","contents_url":"https://api.github.com/repos/code-check/github-api-scala/contents/{+path}","compare_url":"https://api.github.com/repos/code-check/github-api-scala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/code-check/github-api-scala/merges","archive_url":"https://api.github.com/repos/code-check/github-api-scala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/code-check/github-api-scala/downloads","issues_url":"https://api.github.com/repos/code-check/github-api-scala/issues{/number}","pulls_url":"https://api.github.com/repos/code-check/github-api-scala/pulls{/number}","milestones_url":"https://api.github.com/repos/code-check/github-api-scala/milestones{/number}","notifications_url":"https://api.github.com/repos/code-check/github-api-scala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/code-check/github-api-scala/labels{/name}","releases_url":"https://api.github.com/repos/code-check/github-api-scala/releases{/id}","created_at":"2015-04-15T02:51:45Z","updated_at":"2015-05-12T01:51:54Z","pushed_at":"2015-05-20T03:10:19Z","git_url":"git://github.com/code-check/github-api-scala.git","ssh_url":"git@github.com:code-check/github-api-scala.git","clone_url":"https://github.com/code-check/github-api-scala.git","svn_url":"https://github.com/code-check/github-api-scala","homepage":null,"size":604,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":1,"default_branch":"master"}},"base":{"label":"code-check:master","ref":"master","sha":"6dc7392f6fa85d73b4a3482c0cef3f952dc5f7a9","user":{"login":"code-check","id":11714208,"avatar_url":"https://avatars.githubusercontent.com/u/11714208?v=3","gravatar_id":"","url":"https://api.github.com/users/code-check","html_url":"https://github.com/code-check","followers_url":"https://api.github.com/users/code-check/followers","following_url":"https://api.github.com/users/code-check/following{/other_user}","gists_url":"https://api.github.com/users/code-check/gists{/gist_id}","starred_url":"https://api.github.com/users/code-check/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-check/subscriptions","organizations_url":"https://api.github.com/users/code-check/orgs","repos_url":"https://api.github.com/users/code-check/repos","events_url":"https://api.github.com/users/code-check/events{/privacy}","received_events_url":"https://api.github.com/users/code-check/received_events","type":"Organization","site_admin":false},"repo":{"id":33969614,"name":"github-api-scala","full_name":"code-check/github-api-scala","owner":{"login":"code-check","id":11714208,"avatar_url":"https://avatars.githubusercontent.com/u/11714208?v=3","gravatar_id":"","url":"https://api.github.com/users/code-check","html_url":"https://github.com/code-check","followers_url":"https://api.github.com/users/code-check/followers","following_url":"https://api.github.com/users/code-check/following{/other_user}","gists_url":"https://api.github.com/users/code-check/gists{/gist_id}","starred_url":"https://api.github.com/users/code-check/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-check/subscriptions","organizations_url":"https://api.github.com/users/code-check/orgs","repos_url":"https://api.github.com/users/code-check/repos","events_url":"https://api.github.com/users/code-check/events{/privacy}","received_events_url":"https://api.github.com/users/code-check/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/code-check/github-api-scala","description":"GitHubAPI wrapper for scala","fork":false,"url":"https://api.github.com/repos/code-check/github-api-scala","forks_url":"https://api.github.com/repos/code-check/github-api-scala/forks","keys_url":"https://api.github.com/repos/code-check/github-api-scala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/code-check/github-api-scala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/code-check/github-api-scala/teams","hooks_url":"https://api.github.com/repos/code-check/github-api-scala/hooks","issue_events_url":"https://api.github.com/repos/code-check/github-api-scala/issues/events{/number}","events_url":"https://api.github.com/repos/code-check/github-api-scala/events","assignees_url":"https://api.github.com/repos/code-check/github-api-scala/assignees{/user}","branches_url":"https://api.github.com/repos/code-check/github-api-scala/branches{/branch}","tags_url":"https://api.github.com/repos/code-check/github-api-scala/tags","blobs_url":"https://api.github.com/repos/code-check/github-api-scala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/code-check/github-api-scala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/code-check/github-api-scala/git/refs{/sha}","trees_url":"https://api.github.com/repos/code-check/github-api-scala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/code-check/github-api-scala/statuses/{sha}","languages_url":"https://api.github.com/repos/code-check/github-api-scala/languages","stargazers_url":"https://api.github.com/repos/code-check/github-api-scala/stargazers","contributors_url":"https://api.github.com/repos/code-check/github-api-scala/contributors","subscribers_url":"https://api.github.com/repos/code-check/github-api-scala/subscribers","subscription_url":"https://api.github.com/repos/code-check/github-api-scala/subscription","commits_url":"https://api.github.com/repos/code-check/github-api-scala/commits{/sha}","git_commits_url":"https://api.github.com/repos/code-check/github-api-scala/git/commits{/sha}","comments_url":"https://api.github.com/repos/code-check/github-api-scala/comments{/number}","issue_comment_url":"https://api.github.com/repos/code-check/github-api-scala/issues/comments{/number}","contents_url":"https://api.github.com/repos/code-check/github-api-scala/contents/{+path}","compare_url":"https://api.github.com/repos/code-check/github-api-scala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/code-check/github-api-scala/merges","archive_url":"https://api.github.com/repos/code-check/github-api-scala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/code-check/github-api-scala/downloads","issues_url":"https://api.github.com/repos/code-check/github-api-scala/issues{/number}","pulls_url":"https://api.github.com/repos/code-check/github-api-scala/pulls{/number}","milestones_url":"https://api.github.com/repos/code-check/github-api-scala/milestones{/number}","notifications_url":"https://api.github.com/repos/code-check/github-api-scala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/code-check/github-api-scala/labels{/name}","releases_url":"https://api.github.com/repos/code-check/github-api-scala/releases{/id}","created_at":"2015-04-15T02:51:45Z","updated_at":"2015-05-12T01:51:54Z","pushed_at":"2015-05-20T03:10:19Z","git_url":"git://github.com/code-check/github-api-scala.git","ssh_url":"git@github.com:code-check/github-api-scala.git","clone_url":"https://github.com/code-check/github-api-scala.git","svn_url":"https://github.com/code-check/github-api-scala","homepage":null,"size":604,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/code-check/github-api-scala/pulls/26"},"html":{"href":"https://github.com/code-check/github-api-scala/pull/26"},"issue":{"href":"https://api.github.com/repos/code-check/github-api-scala/issues/26"},"comments":{"href":"https://api.github.com/repos/code-check/github-api-scala/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/code-check/github-api-scala/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/code-check/github-api-scala/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/code-check/github-api-scala/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/code-check/github-api-scala/statuses/5095bfb2add1c8545c87162203b1237d8e4144e1"}}}}