{"action":"created","comment":{"url":"https://api.github.com/repos/benwoody/shrtnr/pulls/comments/29137151","id":29137151,"diff_hunk":"@@ -13,6 +13,7 @@\n   resources :users, only: [:new, :create]\n   get '/settings' => 'settings#index', as: :settings\n   post '/settings' => 'settings#update'\n+  post '/settings/regen_api_key'","path":"config/routes.rb","position":4,"original_position":4,"commit_id":"bc46e1e0e546f0e3e46139f602dfeded62718689","original_commit_id":"bc46e1e0e546f0e3e46139f602dfeded62718689","user":{"login":"benwoody","id":625707,"avatar_url":"https://avatars.githubusercontent.com/u/625707?v=3","gravatar_id":"","url":"https://api.github.com/users/benwoody","html_url":"https://github.com/benwoody","followers_url":"https://api.github.com/users/benwoody/followers","following_url":"https://api.github.com/users/benwoody/following{/other_user}","gists_url":"https://api.github.com/users/benwoody/gists{/gist_id}","starred_url":"https://api.github.com/users/benwoody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benwoody/subscriptions","organizations_url":"https://api.github.com/users/benwoody/orgs","repos_url":"https://api.github.com/users/benwoody/repos","events_url":"https://api.github.com/users/benwoody/events{/privacy}","received_events_url":"https://api.github.com/users/benwoody/received_events","type":"User","site_admin":false},"body":"Since we're updating the user, this should be a `PUT`, not a `POST`","created_at":"2015-04-27T10:56:06Z","updated_at":"2015-04-27T10:56:06Z","html_url":"https://github.com/benwoody/shrtnr/pull/28#discussion_r29137151","pull_request_url":"https://api.github.com/repos/benwoody/shrtnr/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/benwoody/shrtnr/pulls/comments/29137151"},"html":{"href":"https://github.com/benwoody/shrtnr/pull/28#discussion_r29137151"},"pull_request":{"href":"https://api.github.com/repos/benwoody/shrtnr/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/benwoody/shrtnr/pulls/28","id":34119076,"html_url":"https://github.com/benwoody/shrtnr/pull/28","diff_url":"https://github.com/benwoody/shrtnr/pull/28.diff","patch_url":"https://github.com/benwoody/shrtnr/pull/28.patch","issue_url":"https://api.github.com/repos/benwoody/shrtnr/issues/28","number":28,"state":"open","locked":false,"title":"Homework4","user":{"login":"tomun","id":2600770,"avatar_url":"https://avatars.githubusercontent.com/u/2600770?v=3","gravatar_id":"","url":"https://api.github.com/users/tomun","html_url":"https://github.com/tomun","followers_url":"https://api.github.com/users/tomun/followers","following_url":"https://api.github.com/users/tomun/following{/other_user}","gists_url":"https://api.github.com/users/tomun/gists{/gist_id}","starred_url":"https://api.github.com/users/tomun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomun/subscriptions","organizations_url":"https://api.github.com/users/tomun/orgs","repos_url":"https://api.github.com/users/tomun/repos","events_url":"https://api.github.com/users/tomun/events{/privacy}","received_events_url":"https://api.github.com/users/tomun/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-26T07:08:02Z","updated_at":"2015-04-27T10:56:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e43ee31e2cb0bfb97e9a9cfc0e9754bb07153b2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/benwoody/shrtnr/pulls/28/commits","review_comments_url":"https://api.github.com/repos/benwoody/shrtnr/pulls/28/comments","review_comment_url":"https://api.github.com/repos/benwoody/shrtnr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/benwoody/shrtnr/issues/28/comments","statuses_url":"https://api.github.com/repos/benwoody/shrtnr/statuses/bc46e1e0e546f0e3e46139f602dfeded62718689","head":{"label":"tomun:homework4","ref":"homework4","sha":"bc46e1e0e546f0e3e46139f602dfeded62718689","user":{"login":"tomun","id":2600770,"avatar_url":"https://avatars.githubusercontent.com/u/2600770?v=3","gravatar_id":"","url":"https://api.github.com/users/tomun","html_url":"https://github.com/tomun","followers_url":"https://api.github.com/users/tomun/followers","following_url":"https://api.github.com/users/tomun/following{/other_user}","gists_url":"https://api.github.com/users/tomun/gists{/gist_id}","starred_url":"https://api.github.com/users/tomun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomun/subscriptions","organizations_url":"https://api.github.com/users/tomun/orgs","repos_url":"https://api.github.com/users/tomun/repos","events_url":"https://api.github.com/users/tomun/events{/privacy}","received_events_url":"https://api.github.com/users/tomun/received_events","type":"User","site_admin":false},"repo":{"id":33464002,"name":"shrtnr","full_name":"tomun/shrtnr","owner":{"login":"tomun","id":2600770,"avatar_url":"https://avatars.githubusercontent.com/u/2600770?v=3","gravatar_id":"","url":"https://api.github.com/users/tomun","html_url":"https://github.com/tomun","followers_url":"https://api.github.com/users/tomun/followers","following_url":"https://api.github.com/users/tomun/following{/other_user}","gists_url":"https://api.github.com/users/tomun/gists{/gist_id}","starred_url":"https://api.github.com/users/tomun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomun/subscriptions","organizations_url":"https://api.github.com/users/tomun/orgs","repos_url":"https://api.github.com/users/tomun/repos","events_url":"https://api.github.com/users/tomun/events{/privacy}","received_events_url":"https://api.github.com/users/tomun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomun/shrtnr","description":"A URL Shortener for UW Advanced Rails","fork":true,"url":"https://api.github.com/repos/tomun/shrtnr","forks_url":"https://api.github.com/repos/tomun/shrtnr/forks","keys_url":"https://api.github.com/repos/tomun/shrtnr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomun/shrtnr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomun/shrtnr/teams","hooks_url":"https://api.github.com/repos/tomun/shrtnr/hooks","issue_events_url":"https://api.github.com/repos/tomun/shrtnr/issues/events{/number}","events_url":"https://api.github.com/repos/tomun/shrtnr/events","assignees_url":"https://api.github.com/repos/tomun/shrtnr/assignees{/user}","branches_url":"https://api.github.com/repos/tomun/shrtnr/branches{/branch}","tags_url":"https://api.github.com/repos/tomun/shrtnr/tags","blobs_url":"https://api.github.com/repos/tomun/shrtnr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomun/shrtnr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomun/shrtnr/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomun/shrtnr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomun/shrtnr/statuses/{sha}","languages_url":"https://api.github.com/repos/tomun/shrtnr/languages","stargazers_url":"https://api.github.com/repos/tomun/shrtnr/stargazers","contributors_url":"https://api.github.com/repos/tomun/shrtnr/contributors","subscribers_url":"https://api.github.com/repos/tomun/shrtnr/subscribers","subscription_url":"https://api.github.com/repos/tomun/shrtnr/subscription","commits_url":"https://api.github.com/repos/tomun/shrtnr/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomun/shrtnr/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomun/shrtnr/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomun/shrtnr/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomun/shrtnr/contents/{+path}","compare_url":"https://api.github.com/repos/tomun/shrtnr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomun/shrtnr/merges","archive_url":"https://api.github.com/repos/tomun/shrtnr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomun/shrtnr/downloads","issues_url":"https://api.github.com/repos/tomun/shrtnr/issues{/number}","pulls_url":"https://api.github.com/repos/tomun/shrtnr/pulls{/number}","milestones_url":"https://api.github.com/repos/tomun/shrtnr/milestones{/number}","notifications_url":"https://api.github.com/repos/tomun/shrtnr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomun/shrtnr/labels{/name}","releases_url":"https://api.github.com/repos/tomun/shrtnr/releases{/id}","created_at":"2015-04-06T02:56:01Z","updated_at":"2015-04-09T04:48:21Z","pushed_at":"2015-04-26T07:05:52Z","git_url":"git://github.com/tomun/shrtnr.git","ssh_url":"git@github.com:tomun/shrtnr.git","clone_url":"https://github.com/tomun/shrtnr.git","svn_url":"https://github.com/tomun/shrtnr","homepage":null,"size":492,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"benwoody:week4","ref":"week4","sha":"66750c284b2ec11d5f4f8508b9c001d51ad56861","user":{"login":"benwoody","id":625707,"avatar_url":"https://avatars.githubusercontent.com/u/625707?v=3","gravatar_id":"","url":"https://api.github.com/users/benwoody","html_url":"https://github.com/benwoody","followers_url":"https://api.github.com/users/benwoody/followers","following_url":"https://api.github.com/users/benwoody/following{/other_user}","gists_url":"https://api.github.com/users/benwoody/gists{/gist_id}","starred_url":"https://api.github.com/users/benwoody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benwoody/subscriptions","organizations_url":"https://api.github.com/users/benwoody/orgs","repos_url":"https://api.github.com/users/benwoody/repos","events_url":"https://api.github.com/users/benwoody/events{/privacy}","received_events_url":"https://api.github.com/users/benwoody/received_events","type":"User","site_admin":false},"repo":{"id":33279043,"name":"shrtnr","full_name":"benwoody/shrtnr","owner":{"login":"benwoody","id":625707,"avatar_url":"https://avatars.githubusercontent.com/u/625707?v=3","gravatar_id":"","url":"https://api.github.com/users/benwoody","html_url":"https://github.com/benwoody","followers_url":"https://api.github.com/users/benwoody/followers","following_url":"https://api.github.com/users/benwoody/following{/other_user}","gists_url":"https://api.github.com/users/benwoody/gists{/gist_id}","starred_url":"https://api.github.com/users/benwoody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benwoody/subscriptions","organizations_url":"https://api.github.com/users/benwoody/orgs","repos_url":"https://api.github.com/users/benwoody/repos","events_url":"https://api.github.com/users/benwoody/events{/privacy}","received_events_url":"https://api.github.com/users/benwoody/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benwoody/shrtnr","description":"A URL Shortener for UW Advanced Rails","fork":false,"url":"https://api.github.com/repos/benwoody/shrtnr","forks_url":"https://api.github.com/repos/benwoody/shrtnr/forks","keys_url":"https://api.github.com/repos/benwoody/shrtnr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benwoody/shrtnr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benwoody/shrtnr/teams","hooks_url":"https://api.github.com/repos/benwoody/shrtnr/hooks","issue_events_url":"https://api.github.com/repos/benwoody/shrtnr/issues/events{/number}","events_url":"https://api.github.com/repos/benwoody/shrtnr/events","assignees_url":"https://api.github.com/repos/benwoody/shrtnr/assignees{/user}","branches_url":"https://api.github.com/repos/benwoody/shrtnr/branches{/branch}","tags_url":"https://api.github.com/repos/benwoody/shrtnr/tags","blobs_url":"https://api.github.com/repos/benwoody/shrtnr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benwoody/shrtnr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benwoody/shrtnr/git/refs{/sha}","trees_url":"https://api.github.com/repos/benwoody/shrtnr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benwoody/shrtnr/statuses/{sha}","languages_url":"https://api.github.com/repos/benwoody/shrtnr/languages","stargazers_url":"https://api.github.com/repos/benwoody/shrtnr/stargazers","contributors_url":"https://api.github.com/repos/benwoody/shrtnr/contributors","subscribers_url":"https://api.github.com/repos/benwoody/shrtnr/subscribers","subscription_url":"https://api.github.com/repos/benwoody/shrtnr/subscription","commits_url":"https://api.github.com/repos/benwoody/shrtnr/commits{/sha}","git_commits_url":"https://api.github.com/repos/benwoody/shrtnr/git/commits{/sha}","comments_url":"https://api.github.com/repos/benwoody/shrtnr/comments{/number}","issue_comment_url":"https://api.github.com/repos/benwoody/shrtnr/issues/comments{/number}","contents_url":"https://api.github.com/repos/benwoody/shrtnr/contents/{+path}","compare_url":"https://api.github.com/repos/benwoody/shrtnr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benwoody/shrtnr/merges","archive_url":"https://api.github.com/repos/benwoody/shrtnr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benwoody/shrtnr/downloads","issues_url":"https://api.github.com/repos/benwoody/shrtnr/issues{/number}","pulls_url":"https://api.github.com/repos/benwoody/shrtnr/pulls{/number}","milestones_url":"https://api.github.com/repos/benwoody/shrtnr/milestones{/number}","notifications_url":"https://api.github.com/repos/benwoody/shrtnr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benwoody/shrtnr/labels{/name}","releases_url":"https://api.github.com/repos/benwoody/shrtnr/releases{/id}","created_at":"2015-04-01T23:49:06Z","updated_at":"2015-04-24T14:40:09Z","pushed_at":"2015-04-26T07:08:03Z","git_url":"git://github.com/benwoody/shrtnr.git","ssh_url":"git@github.com:benwoody/shrtnr.git","clone_url":"https://github.com/benwoody/shrtnr.git","svn_url":"https://github.com/benwoody/shrtnr","homepage":null,"size":1227,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/benwoody/shrtnr/pulls/28"},"html":{"href":"https://github.com/benwoody/shrtnr/pull/28"},"issue":{"href":"https://api.github.com/repos/benwoody/shrtnr/issues/28"},"comments":{"href":"https://api.github.com/repos/benwoody/shrtnr/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/benwoody/shrtnr/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/benwoody/shrtnr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/benwoody/shrtnr/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/benwoody/shrtnr/statuses/bc46e1e0e546f0e3e46139f602dfeded62718689"}}}}