{"action":"opened","number":37,"pull_request":{"url":"https://api.github.com/repos/tthatcher/library-rest-app/pulls/37","id":70298310,"html_url":"https://github.com/tthatcher/library-rest-app/pull/37","diff_url":"https://github.com/tthatcher/library-rest-app/pull/37.diff","patch_url":"https://github.com/tthatcher/library-rest-app/pull/37.patch","issue_url":"https://api.github.com/repos/tthatcher/library-rest-app/issues/37","number":37,"state":"open","locked":false,"title":"Refactoring","user":{"login":"tthatcher","id":16638733,"avatar_url":"https://avatars.githubusercontent.com/u/16638733?v=3","gravatar_id":"","url":"https://api.github.com/users/tthatcher","html_url":"https://github.com/tthatcher","followers_url":"https://api.github.com/users/tthatcher/followers","following_url":"https://api.github.com/users/tthatcher/following{/other_user}","gists_url":"https://api.github.com/users/tthatcher/gists{/gist_id}","starred_url":"https://api.github.com/users/tthatcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tthatcher/subscriptions","organizations_url":"https://api.github.com/users/tthatcher/orgs","repos_url":"https://api.github.com/users/tthatcher/repos","events_url":"https://api.github.com/users/tthatcher/events{/privacy}","received_events_url":"https://api.github.com/users/tthatcher/received_events","type":"User","site_admin":false},"body":"Refactored some things that were bothering me.","created_at":"2016-05-17T04:28:03Z","updated_at":"2016-05-17T04:28:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tthatcher/library-rest-app/pulls/37/commits","review_comments_url":"https://api.github.com/repos/tthatcher/library-rest-app/pulls/37/comments","review_comment_url":"https://api.github.com/repos/tthatcher/library-rest-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tthatcher/library-rest-app/issues/37/comments","statuses_url":"https://api.github.com/repos/tthatcher/library-rest-app/statuses/c0ee2052084ef08f9031f1961f4f999406d2517d","head":{"label":"tthatcher:add-validations","ref":"add-validations","sha":"c0ee2052084ef08f9031f1961f4f999406d2517d","user":{"login":"tthatcher","id":16638733,"avatar_url":"https://avatars.githubusercontent.com/u/16638733?v=3","gravatar_id":"","url":"https://api.github.com/users/tthatcher","html_url":"https://github.com/tthatcher","followers_url":"https://api.github.com/users/tthatcher/followers","following_url":"https://api.github.com/users/tthatcher/following{/other_user}","gists_url":"https://api.github.com/users/tthatcher/gists{/gist_id}","starred_url":"https://api.github.com/users/tthatcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tthatcher/subscriptions","organizations_url":"https://api.github.com/users/tthatcher/orgs","repos_url":"https://api.github.com/users/tthatcher/repos","events_url":"https://api.github.com/users/tthatcher/events{/privacy}","received_events_url":"https://api.github.com/users/tthatcher/received_events","type":"User","site_admin":false},"repo":{"id":57176528,"name":"library-rest-app","full_name":"tthatcher/library-rest-app","owner":{"login":"tthatcher","id":16638733,"avatar_url":"https://avatars.githubusercontent.com/u/16638733?v=3","gravatar_id":"","url":"https://api.github.com/users/tthatcher","html_url":"https://github.com/tthatcher","followers_url":"https://api.github.com/users/tthatcher/followers","following_url":"https://api.github.com/users/tthatcher/following{/other_user}","gists_url":"https://api.github.com/users/tthatcher/gists{/gist_id}","starred_url":"https://api.github.com/users/tthatcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tthatcher/subscriptions","organizations_url":"https://api.github.com/users/tthatcher/orgs","repos_url":"https://api.github.com/users/tthatcher/repos","events_url":"https://api.github.com/users/tthatcher/events{/privacy}","received_events_url":"https://api.github.com/users/tthatcher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tthatcher/library-rest-app","description":"Library REST webapp in node/express","fork":false,"url":"https://api.github.com/repos/tthatcher/library-rest-app","forks_url":"https://api.github.com/repos/tthatcher/library-rest-app/forks","keys_url":"https://api.github.com/repos/tthatcher/library-rest-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tthatcher/library-rest-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tthatcher/library-rest-app/teams","hooks_url":"https://api.github.com/repos/tthatcher/library-rest-app/hooks","issue_events_url":"https://api.github.com/repos/tthatcher/library-rest-app/issues/events{/number}","events_url":"https://api.github.com/repos/tthatcher/library-rest-app/events","assignees_url":"https://api.github.com/repos/tthatcher/library-rest-app/assignees{/user}","branches_url":"https://api.github.com/repos/tthatcher/library-rest-app/branches{/branch}","tags_url":"https://api.github.com/repos/tthatcher/library-rest-app/tags","blobs_url":"https://api.github.com/repos/tthatcher/library-rest-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tthatcher/library-rest-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tthatcher/library-rest-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/tthatcher/library-rest-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tthatcher/library-rest-app/statuses/{sha}","languages_url":"https://api.github.com/repos/tthatcher/library-rest-app/languages","stargazers_url":"https://api.github.com/repos/tthatcher/library-rest-app/stargazers","contributors_url":"https://api.github.com/repos/tthatcher/library-rest-app/contributors","subscribers_url":"https://api.github.com/repos/tthatcher/library-rest-app/subscribers","subscription_url":"https://api.github.com/repos/tthatcher/library-rest-app/subscription","commits_url":"https://api.github.com/repos/tthatcher/library-rest-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/tthatcher/library-rest-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/tthatcher/library-rest-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/tthatcher/library-rest-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/tthatcher/library-rest-app/contents/{+path}","compare_url":"https://api.github.com/repos/tthatcher/library-rest-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tthatcher/library-rest-app/merges","archive_url":"https://api.github.com/repos/tthatcher/library-rest-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tthatcher/library-rest-app/downloads","issues_url":"https://api.github.com/repos/tthatcher/library-rest-app/issues{/number}","pulls_url":"https://api.github.com/repos/tthatcher/library-rest-app/pulls{/number}","milestones_url":"https://api.github.com/repos/tthatcher/library-rest-app/milestones{/number}","notifications_url":"https://api.github.com/repos/tthatcher/library-rest-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tthatcher/library-rest-app/labels{/name}","releases_url":"https://api.github.com/repos/tthatcher/library-rest-app/releases{/id}","deployments_url":"https://api.github.com/repos/tthatcher/library-rest-app/deployments","created_at":"2016-04-27T02:17:56Z","updated_at":"2016-04-27T02:35:58Z","pushed_at":"2016-05-17T04:28:04Z","git_url":"git://github.com/tthatcher/library-rest-app.git","ssh_url":"git@github.com:tthatcher/library-rest-app.git","clone_url":"https://github.com/tthatcher/library-rest-app.git","svn_url":"https://github.com/tthatcher/library-rest-app","homepage":null,"size":46,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"tthatcher:master","ref":"master","sha":"619893b68c69e58af440d22ac0d3e6c6358f4eeb","user":{"login":"tthatcher","id":16638733,"avatar_url":"https://avatars.githubusercontent.com/u/16638733?v=3","gravatar_id":"","url":"https://api.github.com/users/tthatcher","html_url":"https://github.com/tthatcher","followers_url":"https://api.github.com/users/tthatcher/followers","following_url":"https://api.github.com/users/tthatcher/following{/other_user}","gists_url":"https://api.github.com/users/tthatcher/gists{/gist_id}","starred_url":"https://api.github.com/users/tthatcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tthatcher/subscriptions","organizations_url":"https://api.github.com/users/tthatcher/orgs","repos_url":"https://api.github.com/users/tthatcher/repos","events_url":"https://api.github.com/users/tthatcher/events{/privacy}","received_events_url":"https://api.github.com/users/tthatcher/received_events","type":"User","site_admin":false},"repo":{"id":57176528,"name":"library-rest-app","full_name":"tthatcher/library-rest-app","owner":{"login":"tthatcher","id":16638733,"avatar_url":"https://avatars.githubusercontent.com/u/16638733?v=3","gravatar_id":"","url":"https://api.github.com/users/tthatcher","html_url":"https://github.com/tthatcher","followers_url":"https://api.github.com/users/tthatcher/followers","following_url":"https://api.github.com/users/tthatcher/following{/other_user}","gists_url":"https://api.github.com/users/tthatcher/gists{/gist_id}","starred_url":"https://api.github.com/users/tthatcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tthatcher/subscriptions","organizations_url":"https://api.github.com/users/tthatcher/orgs","repos_url":"https://api.github.com/users/tthatcher/repos","events_url":"https://api.github.com/users/tthatcher/events{/privacy}","received_events_url":"https://api.github.com/users/tthatcher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tthatcher/library-rest-app","description":"Library REST webapp in node/express","fork":false,"url":"https://api.github.com/repos/tthatcher/library-rest-app","forks_url":"https://api.github.com/repos/tthatcher/library-rest-app/forks","keys_url":"https://api.github.com/repos/tthatcher/library-rest-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tthatcher/library-rest-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tthatcher/library-rest-app/teams","hooks_url":"https://api.github.com/repos/tthatcher/library-rest-app/hooks","issue_events_url":"https://api.github.com/repos/tthatcher/library-rest-app/issues/events{/number}","events_url":"https://api.github.com/repos/tthatcher/library-rest-app/events","assignees_url":"https://api.github.com/repos/tthatcher/library-rest-app/assignees{/user}","branches_url":"https://api.github.com/repos/tthatcher/library-rest-app/branches{/branch}","tags_url":"https://api.github.com/repos/tthatcher/library-rest-app/tags","blobs_url":"https://api.github.com/repos/tthatcher/library-rest-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tthatcher/library-rest-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tthatcher/library-rest-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/tthatcher/library-rest-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tthatcher/library-rest-app/statuses/{sha}","languages_url":"https://api.github.com/repos/tthatcher/library-rest-app/languages","stargazers_url":"https://api.github.com/repos/tthatcher/library-rest-app/stargazers","contributors_url":"https://api.github.com/repos/tthatcher/library-rest-app/contributors","subscribers_url":"https://api.github.com/repos/tthatcher/library-rest-app/subscribers","subscription_url":"https://api.github.com/repos/tthatcher/library-rest-app/subscription","commits_url":"https://api.github.com/repos/tthatcher/library-rest-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/tthatcher/library-rest-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/tthatcher/library-rest-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/tthatcher/library-rest-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/tthatcher/library-rest-app/contents/{+path}","compare_url":"https://api.github.com/repos/tthatcher/library-rest-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tthatcher/library-rest-app/merges","archive_url":"https://api.github.com/repos/tthatcher/library-rest-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tthatcher/library-rest-app/downloads","issues_url":"https://api.github.com/repos/tthatcher/library-rest-app/issues{/number}","pulls_url":"https://api.github.com/repos/tthatcher/library-rest-app/pulls{/number}","milestones_url":"https://api.github.com/repos/tthatcher/library-rest-app/milestones{/number}","notifications_url":"https://api.github.com/repos/tthatcher/library-rest-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tthatcher/library-rest-app/labels{/name}","releases_url":"https://api.github.com/repos/tthatcher/library-rest-app/releases{/id}","deployments_url":"https://api.github.com/repos/tthatcher/library-rest-app/deployments","created_at":"2016-04-27T02:17:56Z","updated_at":"2016-04-27T02:35:58Z","pushed_at":"2016-05-17T04:28:04Z","git_url":"git://github.com/tthatcher/library-rest-app.git","ssh_url":"git@github.com:tthatcher/library-rest-app.git","clone_url":"https://github.com/tthatcher/library-rest-app.git","svn_url":"https://github.com/tthatcher/library-rest-app","homepage":null,"size":46,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tthatcher/library-rest-app/pulls/37"},"html":{"href":"https://github.com/tthatcher/library-rest-app/pull/37"},"issue":{"href":"https://api.github.com/repos/tthatcher/library-rest-app/issues/37"},"comments":{"href":"https://api.github.com/repos/tthatcher/library-rest-app/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/tthatcher/library-rest-app/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/tthatcher/library-rest-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tthatcher/library-rest-app/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/tthatcher/library-rest-app/statuses/c0ee2052084ef08f9031f1961f4f999406d2517d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":9,"changed_files":4}}