{"action":"created","comment":{"url":"https://api.github.com/repos/jroodman/HackerNews/pulls/comments/123044644","pull_request_review_id":45212370,"id":123044644,"diff_hunk":"@@ -0,0 +1,15 @@\n+<h1>Submit Link</h1>\n+\n+<% if @link.errors.any? %>\n+  <ul>\n+    <% @link.errors.uniq.each do |error_field| %>\n+      <li><%= \"#{ error_field.to_s.humanize } \" + @link.errors[error_field].join('; ') %></li>\n+    <% end %>\n+  </ul>\n+<% end %>","path":"app/views/links/new.html.erb","position":9,"original_position":9,"commit_id":"4e9411a6270011597278047a964dce4356678256","original_commit_id":"4e9411a6270011597278047a964dce4356678256","user":{"login":"jroodman","id":29235514,"avatar_url":"https://avatars3.githubusercontent.com/u/29235514?v=3","gravatar_id":"","url":"https://api.github.com/users/jroodman","html_url":"https://github.com/jroodman","followers_url":"https://api.github.com/users/jroodman/followers","following_url":"https://api.github.com/users/jroodman/following{/other_user}","gists_url":"https://api.github.com/users/jroodman/gists{/gist_id}","starred_url":"https://api.github.com/users/jroodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jroodman/subscriptions","organizations_url":"https://api.github.com/users/jroodman/orgs","repos_url":"https://api.github.com/users/jroodman/repos","events_url":"https://api.github.com/users/jroodman/events{/privacy}","received_events_url":"https://api.github.com/users/jroodman/received_events","type":"User","site_admin":false},"body":"seems to be a slightly different format:\r\n<%= render partial: \"form\", locals: {zone: @zone} %>","created_at":"2017-06-20T17:37:11Z","updated_at":"2017-06-20T17:37:12Z","html_url":"https://github.com/jroodman/HackerNews/pull/6#discussion_r123044644","pull_request_url":"https://api.github.com/repos/jroodman/HackerNews/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/jroodman/HackerNews/pulls/comments/123044644"},"html":{"href":"https://github.com/jroodman/HackerNews/pull/6#discussion_r123044644"},"pull_request":{"href":"https://api.github.com/repos/jroodman/HackerNews/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/jroodman/HackerNews/pulls/6","id":126372380,"html_url":"https://github.com/jroodman/HackerNews/pull/6","diff_url":"https://github.com/jroodman/HackerNews/pull/6.diff","patch_url":"https://github.com/jroodman/HackerNews/pull/6.patch","issue_url":"https://api.github.com/repos/jroodman/HackerNews/issues/6","number":6,"state":"open","locked":false,"title":"Submit Route","user":{"login":"jroodman","id":29235514,"avatar_url":"https://avatars3.githubusercontent.com/u/29235514?v=3","gravatar_id":"","url":"https://api.github.com/users/jroodman","html_url":"https://github.com/jroodman","followers_url":"https://api.github.com/users/jroodman/followers","following_url":"https://api.github.com/users/jroodman/following{/other_user}","gists_url":"https://api.github.com/users/jroodman/gists{/gist_id}","starred_url":"https://api.github.com/users/jroodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jroodman/subscriptions","organizations_url":"https://api.github.com/users/jroodman/orgs","repos_url":"https://api.github.com/users/jroodman/repos","events_url":"https://api.github.com/users/jroodman/events{/privacy}","received_events_url":"https://api.github.com/users/jroodman/received_events","type":"User","site_admin":false},"body":"This PR creates the submit route (used to submit links) for HackerNews. Integration tests for the endpoint are also included","created_at":"2017-06-19T18:51:57Z","updated_at":"2017-06-20T17:37:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f903e438476011cdb0769d947ebcad6275286d43","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/jroodman/HackerNews/pulls/6/commits","review_comments_url":"https://api.github.com/repos/jroodman/HackerNews/pulls/6/comments","review_comment_url":"https://api.github.com/repos/jroodman/HackerNews/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jroodman/HackerNews/issues/6/comments","statuses_url":"https://api.github.com/repos/jroodman/HackerNews/statuses/4e9411a6270011597278047a964dce4356678256","head":{"label":"jroodman:submit-route","ref":"submit-route","sha":"4e9411a6270011597278047a964dce4356678256","user":{"login":"jroodman","id":29235514,"avatar_url":"https://avatars3.githubusercontent.com/u/29235514?v=3","gravatar_id":"","url":"https://api.github.com/users/jroodman","html_url":"https://github.com/jroodman","followers_url":"https://api.github.com/users/jroodman/followers","following_url":"https://api.github.com/users/jroodman/following{/other_user}","gists_url":"https://api.github.com/users/jroodman/gists{/gist_id}","starred_url":"https://api.github.com/users/jroodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jroodman/subscriptions","organizations_url":"https://api.github.com/users/jroodman/orgs","repos_url":"https://api.github.com/users/jroodman/repos","events_url":"https://api.github.com/users/jroodman/events{/privacy}","received_events_url":"https://api.github.com/users/jroodman/received_events","type":"User","site_admin":false},"repo":{"id":93763081,"name":"HackerNews","full_name":"jroodman/HackerNews","owner":{"login":"jroodman","id":29235514,"avatar_url":"https://avatars3.githubusercontent.com/u/29235514?v=3","gravatar_id":"","url":"https://api.github.com/users/jroodman","html_url":"https://github.com/jroodman","followers_url":"https://api.github.com/users/jroodman/followers","following_url":"https://api.github.com/users/jroodman/following{/other_user}","gists_url":"https://api.github.com/users/jroodman/gists{/gist_id}","starred_url":"https://api.github.com/users/jroodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jroodman/subscriptions","organizations_url":"https://api.github.com/users/jroodman/orgs","repos_url":"https://api.github.com/users/jroodman/repos","events_url":"https://api.github.com/users/jroodman/events{/privacy}","received_events_url":"https://api.github.com/users/jroodman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jroodman/HackerNews","description":"My version of HackerNews!!!! Enjoy","fork":false,"url":"https://api.github.com/repos/jroodman/HackerNews","forks_url":"https://api.github.com/repos/jroodman/HackerNews/forks","keys_url":"https://api.github.com/repos/jroodman/HackerNews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jroodman/HackerNews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jroodman/HackerNews/teams","hooks_url":"https://api.github.com/repos/jroodman/HackerNews/hooks","issue_events_url":"https://api.github.com/repos/jroodman/HackerNews/issues/events{/number}","events_url":"https://api.github.com/repos/jroodman/HackerNews/events","assignees_url":"https://api.github.com/repos/jroodman/HackerNews/assignees{/user}","branches_url":"https://api.github.com/repos/jroodman/HackerNews/branches{/branch}","tags_url":"https://api.github.com/repos/jroodman/HackerNews/tags","blobs_url":"https://api.github.com/repos/jroodman/HackerNews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jroodman/HackerNews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jroodman/HackerNews/git/refs{/sha}","trees_url":"https://api.github.com/repos/jroodman/HackerNews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jroodman/HackerNews/statuses/{sha}","languages_url":"https://api.github.com/repos/jroodman/HackerNews/languages","stargazers_url":"https://api.github.com/repos/jroodman/HackerNews/stargazers","contributors_url":"https://api.github.com/repos/jroodman/HackerNews/contributors","subscribers_url":"https://api.github.com/repos/jroodman/HackerNews/subscribers","subscription_url":"https://api.github.com/repos/jroodman/HackerNews/subscription","commits_url":"https://api.github.com/repos/jroodman/HackerNews/commits{/sha}","git_commits_url":"https://api.github.com/repos/jroodman/HackerNews/git/commits{/sha}","comments_url":"https://api.github.com/repos/jroodman/HackerNews/comments{/number}","issue_comment_url":"https://api.github.com/repos/jroodman/HackerNews/issues/comments{/number}","contents_url":"https://api.github.com/repos/jroodman/HackerNews/contents/{+path}","compare_url":"https://api.github.com/repos/jroodman/HackerNews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jroodman/HackerNews/merges","archive_url":"https://api.github.com/repos/jroodman/HackerNews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jroodman/HackerNews/downloads","issues_url":"https://api.github.com/repos/jroodman/HackerNews/issues{/number}","pulls_url":"https://api.github.com/repos/jroodman/HackerNews/pulls{/number}","milestones_url":"https://api.github.com/repos/jroodman/HackerNews/milestones{/number}","notifications_url":"https://api.github.com/repos/jroodman/HackerNews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jroodman/HackerNews/labels{/name}","releases_url":"https://api.github.com/repos/jroodman/HackerNews/releases{/id}","deployments_url":"https://api.github.com/repos/jroodman/HackerNews/deployments","created_at":"2017-06-08T15:09:07Z","updated_at":"2017-06-08T15:09:32Z","pushed_at":"2017-06-20T17:16:25Z","git_url":"git://github.com/jroodman/HackerNews.git","ssh_url":"git@github.com:jroodman/HackerNews.git","clone_url":"https://github.com/jroodman/HackerNews.git","svn_url":"https://github.com/jroodman/HackerNews","homepage":null,"size":51,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"jroodman:master","ref":"master","sha":"c09c7791789b0a0665568981ed3aebd019870f0f","user":{"login":"jroodman","id":29235514,"avatar_url":"https://avatars3.githubusercontent.com/u/29235514?v=3","gravatar_id":"","url":"https://api.github.com/users/jroodman","html_url":"https://github.com/jroodman","followers_url":"https://api.github.com/users/jroodman/followers","following_url":"https://api.github.com/users/jroodman/following{/other_user}","gists_url":"https://api.github.com/users/jroodman/gists{/gist_id}","starred_url":"https://api.github.com/users/jroodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jroodman/subscriptions","organizations_url":"https://api.github.com/users/jroodman/orgs","repos_url":"https://api.github.com/users/jroodman/repos","events_url":"https://api.github.com/users/jroodman/events{/privacy}","received_events_url":"https://api.github.com/users/jroodman/received_events","type":"User","site_admin":false},"repo":{"id":93763081,"name":"HackerNews","full_name":"jroodman/HackerNews","owner":{"login":"jroodman","id":29235514,"avatar_url":"https://avatars3.githubusercontent.com/u/29235514?v=3","gravatar_id":"","url":"https://api.github.com/users/jroodman","html_url":"https://github.com/jroodman","followers_url":"https://api.github.com/users/jroodman/followers","following_url":"https://api.github.com/users/jroodman/following{/other_user}","gists_url":"https://api.github.com/users/jroodman/gists{/gist_id}","starred_url":"https://api.github.com/users/jroodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jroodman/subscriptions","organizations_url":"https://api.github.com/users/jroodman/orgs","repos_url":"https://api.github.com/users/jroodman/repos","events_url":"https://api.github.com/users/jroodman/events{/privacy}","received_events_url":"https://api.github.com/users/jroodman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jroodman/HackerNews","description":"My version of HackerNews!!!! Enjoy","fork":false,"url":"https://api.github.com/repos/jroodman/HackerNews","forks_url":"https://api.github.com/repos/jroodman/HackerNews/forks","keys_url":"https://api.github.com/repos/jroodman/HackerNews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jroodman/HackerNews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jroodman/HackerNews/teams","hooks_url":"https://api.github.com/repos/jroodman/HackerNews/hooks","issue_events_url":"https://api.github.com/repos/jroodman/HackerNews/issues/events{/number}","events_url":"https://api.github.com/repos/jroodman/HackerNews/events","assignees_url":"https://api.github.com/repos/jroodman/HackerNews/assignees{/user}","branches_url":"https://api.github.com/repos/jroodman/HackerNews/branches{/branch}","tags_url":"https://api.github.com/repos/jroodman/HackerNews/tags","blobs_url":"https://api.github.com/repos/jroodman/HackerNews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jroodman/HackerNews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jroodman/HackerNews/git/refs{/sha}","trees_url":"https://api.github.com/repos/jroodman/HackerNews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jroodman/HackerNews/statuses/{sha}","languages_url":"https://api.github.com/repos/jroodman/HackerNews/languages","stargazers_url":"https://api.github.com/repos/jroodman/HackerNews/stargazers","contributors_url":"https://api.github.com/repos/jroodman/HackerNews/contributors","subscribers_url":"https://api.github.com/repos/jroodman/HackerNews/subscribers","subscription_url":"https://api.github.com/repos/jroodman/HackerNews/subscription","commits_url":"https://api.github.com/repos/jroodman/HackerNews/commits{/sha}","git_commits_url":"https://api.github.com/repos/jroodman/HackerNews/git/commits{/sha}","comments_url":"https://api.github.com/repos/jroodman/HackerNews/comments{/number}","issue_comment_url":"https://api.github.com/repos/jroodman/HackerNews/issues/comments{/number}","contents_url":"https://api.github.com/repos/jroodman/HackerNews/contents/{+path}","compare_url":"https://api.github.com/repos/jroodman/HackerNews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jroodman/HackerNews/merges","archive_url":"https://api.github.com/repos/jroodman/HackerNews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jroodman/HackerNews/downloads","issues_url":"https://api.github.com/repos/jroodman/HackerNews/issues{/number}","pulls_url":"https://api.github.com/repos/jroodman/HackerNews/pulls{/number}","milestones_url":"https://api.github.com/repos/jroodman/HackerNews/milestones{/number}","notifications_url":"https://api.github.com/repos/jroodman/HackerNews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jroodman/HackerNews/labels{/name}","releases_url":"https://api.github.com/repos/jroodman/HackerNews/releases{/id}","deployments_url":"https://api.github.com/repos/jroodman/HackerNews/deployments","created_at":"2017-06-08T15:09:07Z","updated_at":"2017-06-08T15:09:32Z","pushed_at":"2017-06-20T17:16:25Z","git_url":"git://github.com/jroodman/HackerNews.git","ssh_url":"git@github.com:jroodman/HackerNews.git","clone_url":"https://github.com/jroodman/HackerNews.git","svn_url":"https://github.com/jroodman/HackerNews","homepage":null,"size":51,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jroodman/HackerNews/pulls/6"},"html":{"href":"https://github.com/jroodman/HackerNews/pull/6"},"issue":{"href":"https://api.github.com/repos/jroodman/HackerNews/issues/6"},"comments":{"href":"https://api.github.com/repos/jroodman/HackerNews/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/jroodman/HackerNews/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/jroodman/HackerNews/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jroodman/HackerNews/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/jroodman/HackerNews/statuses/4e9411a6270011597278047a964dce4356678256"}}}}
{"actor":{"display_login":"jroodman"}}