{"action":"opened","number":89,"pull_request":{"url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/pulls/89","id":27166852,"html_url":"https://github.com/florianholzapfel/express-restify-mongoose/pull/89","diff_url":"https://github.com/florianholzapfel/express-restify-mongoose/pull/89.diff","patch_url":"https://github.com/florianholzapfel/express-restify-mongoose/pull/89.patch","issue_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/issues/89","number":89,"state":"open","locked":false,"title":"Updated to use Express4 Router","user":{"login":"Zertz","id":2636763,"avatar_url":"https://avatars.githubusercontent.com/u/2636763?v=3","gravatar_id":"","url":"https://api.github.com/users/Zertz","html_url":"https://github.com/Zertz","followers_url":"https://api.github.com/users/Zertz/followers","following_url":"https://api.github.com/users/Zertz/following{/other_user}","gists_url":"https://api.github.com/users/Zertz/gists{/gist_id}","starred_url":"https://api.github.com/users/Zertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zertz/subscriptions","organizations_url":"https://api.github.com/users/Zertz/orgs","repos_url":"https://api.github.com/users/Zertz/repos","events_url":"https://api.github.com/users/Zertz/events{/privacy}","received_events_url":"https://api.github.com/users/Zertz/received_events","type":"User","site_admin":false},"body":"When using Express4, it is good practice not to pass the whole app, but instead simply pass the router.","created_at":"2015-01-11T19:20:54Z","updated_at":"2015-01-11T19:20:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/pulls/89/commits","review_comments_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/pulls/89/comments","review_comment_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/pulls/comments/{number}","comments_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/issues/89/comments","statuses_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/statuses/e0c945d659d3eb37680f931319a43869b953278d","head":{"label":"Zertz:patch-1","ref":"patch-1","sha":"e0c945d659d3eb37680f931319a43869b953278d","user":{"login":"Zertz","id":2636763,"avatar_url":"https://avatars.githubusercontent.com/u/2636763?v=3","gravatar_id":"","url":"https://api.github.com/users/Zertz","html_url":"https://github.com/Zertz","followers_url":"https://api.github.com/users/Zertz/followers","following_url":"https://api.github.com/users/Zertz/following{/other_user}","gists_url":"https://api.github.com/users/Zertz/gists{/gist_id}","starred_url":"https://api.github.com/users/Zertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zertz/subscriptions","organizations_url":"https://api.github.com/users/Zertz/orgs","repos_url":"https://api.github.com/users/Zertz/repos","events_url":"https://api.github.com/users/Zertz/events{/privacy}","received_events_url":"https://api.github.com/users/Zertz/received_events","type":"User","site_admin":false},"repo":{"id":22232768,"name":"express-restify-mongoose","full_name":"Zertz/express-restify-mongoose","owner":{"login":"Zertz","id":2636763,"avatar_url":"https://avatars.githubusercontent.com/u/2636763?v=3","gravatar_id":"","url":"https://api.github.com/users/Zertz","html_url":"https://github.com/Zertz","followers_url":"https://api.github.com/users/Zertz/followers","following_url":"https://api.github.com/users/Zertz/following{/other_user}","gists_url":"https://api.github.com/users/Zertz/gists{/gist_id}","starred_url":"https://api.github.com/users/Zertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zertz/subscriptions","organizations_url":"https://api.github.com/users/Zertz/orgs","repos_url":"https://api.github.com/users/Zertz/repos","events_url":"https://api.github.com/users/Zertz/events{/privacy}","received_events_url":"https://api.github.com/users/Zertz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Zertz/express-restify-mongoose","description":"Easily restify mongoose databases","fork":true,"url":"https://api.github.com/repos/Zertz/express-restify-mongoose","forks_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/forks","keys_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/teams","hooks_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/hooks","issue_events_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/issues/events{/number}","events_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/events","assignees_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/assignees{/user}","branches_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/branches{/branch}","tags_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/tags","blobs_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/statuses/{sha}","languages_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/languages","stargazers_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/stargazers","contributors_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/contributors","subscribers_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/subscribers","subscription_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/subscription","commits_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/issues/comments/{number}","contents_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/contents/{+path}","compare_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/merges","archive_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/downloads","issues_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/issues{/number}","pulls_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/pulls{/number}","milestones_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/milestones{/number}","notifications_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/labels{/name}","releases_url":"https://api.github.com/repos/Zertz/express-restify-mongoose/releases{/id}","created_at":"2014-07-24T21:52:25Z","updated_at":"2014-07-24T22:01:34Z","pushed_at":"2015-01-11T19:20:15Z","git_url":"git://github.com/Zertz/express-restify-mongoose.git","ssh_url":"git@github.com:Zertz/express-restify-mongoose.git","clone_url":"https://github.com/Zertz/express-restify-mongoose.git","svn_url":"https://github.com/Zertz/express-restify-mongoose","homepage":"http://florianholzapfel.github.io/express-restify-mongoose/","size":423,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"florianholzapfel:master","ref":"master","sha":"d85f7fe04a2439904954860d91045e56abe479f8","user":{"login":"florianholzapfel","id":1162833,"avatar_url":"https://avatars.githubusercontent.com/u/1162833?v=3","gravatar_id":"","url":"https://api.github.com/users/florianholzapfel","html_url":"https://github.com/florianholzapfel","followers_url":"https://api.github.com/users/florianholzapfel/followers","following_url":"https://api.github.com/users/florianholzapfel/following{/other_user}","gists_url":"https://api.github.com/users/florianholzapfel/gists{/gist_id}","starred_url":"https://api.github.com/users/florianholzapfel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florianholzapfel/subscriptions","organizations_url":"https://api.github.com/users/florianholzapfel/orgs","repos_url":"https://api.github.com/users/florianholzapfel/repos","events_url":"https://api.github.com/users/florianholzapfel/events{/privacy}","received_events_url":"https://api.github.com/users/florianholzapfel/received_events","type":"User","site_admin":false},"repo":{"id":8987608,"name":"express-restify-mongoose","full_name":"florianholzapfel/express-restify-mongoose","owner":{"login":"florianholzapfel","id":1162833,"avatar_url":"https://avatars.githubusercontent.com/u/1162833?v=3","gravatar_id":"","url":"https://api.github.com/users/florianholzapfel","html_url":"https://github.com/florianholzapfel","followers_url":"https://api.github.com/users/florianholzapfel/followers","following_url":"https://api.github.com/users/florianholzapfel/following{/other_user}","gists_url":"https://api.github.com/users/florianholzapfel/gists{/gist_id}","starred_url":"https://api.github.com/users/florianholzapfel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florianholzapfel/subscriptions","organizations_url":"https://api.github.com/users/florianholzapfel/orgs","repos_url":"https://api.github.com/users/florianholzapfel/repos","events_url":"https://api.github.com/users/florianholzapfel/events{/privacy}","received_events_url":"https://api.github.com/users/florianholzapfel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/florianholzapfel/express-restify-mongoose","description":"Easily restify mongoose databases","fork":false,"url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose","forks_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/forks","keys_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/teams","hooks_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/hooks","issue_events_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/issues/events{/number}","events_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/events","assignees_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/assignees{/user}","branches_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/branches{/branch}","tags_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/tags","blobs_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/git/refs{/sha}","trees_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/statuses/{sha}","languages_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/languages","stargazers_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/stargazers","contributors_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/contributors","subscribers_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/subscribers","subscription_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/subscription","commits_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/commits{/sha}","git_commits_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/git/commits{/sha}","comments_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/comments{/number}","issue_comment_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/issues/comments/{number}","contents_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/contents/{+path}","compare_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/merges","archive_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/downloads","issues_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/issues{/number}","pulls_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/pulls{/number}","milestones_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/milestones{/number}","notifications_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/labels{/name}","releases_url":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/releases{/id}","created_at":"2013-03-24T14:46:51Z","updated_at":"2015-01-11T14:53:53Z","pushed_at":"2015-01-02T12:58:42Z","git_url":"git://github.com/florianholzapfel/express-restify-mongoose.git","ssh_url":"git@github.com:florianholzapfel/express-restify-mongoose.git","clone_url":"https://github.com/florianholzapfel/express-restify-mongoose.git","svn_url":"https://github.com/florianholzapfel/express-restify-mongoose","homepage":"http://florianholzapfel.github.io/express-restify-mongoose/","size":1017,"stargazers_count":183,"watchers_count":183,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":55,"mirror_url":null,"open_issues_count":12,"forks":55,"open_issues":12,"watchers":183,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/pulls/89"},"html":{"href":"https://github.com/florianholzapfel/express-restify-mongoose/pull/89"},"issue":{"href":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/issues/89"},"comments":{"href":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/pulls/89/comments"},"review_comment":{"href":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/pulls/89/commits"},"statuses":{"href":"https://api.github.com/repos/florianholzapfel/express-restify-mongoose/statuses/e0c945d659d3eb37680f931319a43869b953278d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":3,"changed_files":1}}