GitHub PullRequestEvent at 2014-02-25 21:14:02
Repository: swagger-node-express
Actor: drewwells
Payload: {"action":"closed","number":98,"pull_request":{"url":"https://api.github.com/repos/wordnik/swagger-node-express/pulls/98","id":12924034,"html_url":"https://github.com/wordnik/swagger-node-express/pull/98","diff_url":"https://github.com/wordnik/swagger-node-express/pull/98.diff","patch_url":"https://github.com/wordnik/swagger-node-express/pull/98.patch","issue_url":"https://api.github.com/repos/wordnik/swagger-node-express/issues/98","number":98,"state":"closed","title":"Issues","user":{"login":"drewwells","id":239123,"avatar_url":"https://gravatar.com/avatar/2f56f147c441727ffd27a57d747f131c?d=https%3A%2F%2Fidenticons.github.com%2Fcfbc4db9b71b00c357dd60e3eff1df72.png&r=x","gravatar_id":"2f56f147c441727ffd27a57d747f131c","url":"https://api.github.com/users/drewwells","html_url":"https://github.com/drewwells","followers_url":"https://api.github.com/users/drewwells/followers","following_url":"https://api.github.com/users/drewwells/following{/other_user}","gists_url":"https://api.github.com/users/drewwells/gists{/gist_id}","starred_url":"https://api.github.com/users/drewwells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewwells/subscriptions","organizations_url":"https://api.github.com/users/drewwells/orgs","repos_url":"https://api.github.com/users/drewwells/repos","events_url":"https://api.github.com/users/drewwells/events{/privacy}","received_events_url":"https://api.github.com/users/drewwells/received_events","type":"User","site_admin":false},"body":"Can you turn on issues?\r\n\r\nCurrently, the documentation is all in express and most of this does not work for restify.\r\n\r\nTo emulate subpathing, here's what I had to do.  There must be a better way to achieve this in restify.\r\n\r\n```\r\nserver.use(function(req, res, next){\r\n    req.url = req.url.replace(/^\\/v1/,'');\r\n    next(req, res);\r\n});\r\n```","created_at":"2014-02-25T21:13:36Z","updated_at":"2014-02-25T21:14:02Z","closed_at":"2014-02-25T21:14:02Z","merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wordnik/swagger-node-express/pulls/98/commits","review_comments_url":"https://api.github.com/repos/wordnik/swagger-node-express/pulls/98/comments","review_comment_url":"https://api.github.com/repos/wordnik/swagger-node-express/pulls/comments/{number}","comments_url":"https://api.github.com/repos/wordnik/swagger-node-express/issues/98/comments","statuses_url":"https://api.github.com/repos/wordnik/swagger-node-express/statuses/42c9846e67c8d5998ebac52ffccd9aff5c6efe1f","head":{"label":"tmsw:master","ref":"master","sha":"42c9846e67c8d5998ebac52ffccd9aff5c6efe1f","user":{"login":"tmsw","id":1181847,"avatar_url":"https://gravatar.com/avatar/1b3dd1c326c404c87d3c178482e37fbf?d=https%3A%2F%2Fidenticons.github.com%2Febb8490a1e404dd7dded04d27fe43d28.png&r=x","gravatar_id":"1b3dd1c326c404c87d3c178482e37fbf","url":"https://api.github.com/users/tmsw","html_url":"https://github.com/tmsw","followers_url":"https://api.github.com/users/tmsw/followers","following_url":"https://api.github.com/users/tmsw/following{/other_user}","gists_url":"https://api.github.com/users/tmsw/gists{/gist_id}","starred_url":"https://api.github.com/users/tmsw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmsw/subscriptions","organizations_url":"https://api.github.com/users/tmsw/orgs","repos_url":"https://api.github.com/users/tmsw/repos","events_url":"https://api.github.com/users/tmsw/events{/privacy}","received_events_url":"https://api.github.com/users/tmsw/received_events","type":"Organization","site_admin":false},"repo":{"id":11708521,"name":"swagger-node-restify","full_name":"tmsw/swagger-node-restify","owner":{"login":"tmsw","id":1181847,"avatar_url":"https://gravatar.com/avatar/1b3dd1c326c404c87d3c178482e37fbf?d=https%3A%2F%2Fidenticons.github.com%2Febb8490a1e404dd7dded04d27fe43d28.png&r=x","gravatar_id":"1b3dd1c326c404c87d3c178482e37fbf","url":"https://api.github.com/users/tmsw","html_url":"https://github.com/tmsw","followers_url":"https://api.github.com/users/tmsw/followers","following_url":"https://api.github.com/users/tmsw/following{/other_user}","gists_url":"https://api.github.com/users/tmsw/gists{/gist_id}","starred_url":"https://api.github.com/users/tmsw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmsw/subscriptions","organizations_url":"https://api.github.com/users/tmsw/orgs","repos_url":"https://api.github.com/users/tmsw/repos","events_url":"https://api.github.com/users/tmsw/events{/privacy}","received_events_url":"https://api.github.com/users/tmsw/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tmsw/swagger-node-restify","description":"Swagger module for node.js w/restify module","fork":true,"url":"https://api.github.com/repos/tmsw/swagger-node-restify","forks_url":"https://api.github.com/repos/tmsw/swagger-node-restify/forks","keys_url":"https://api.github.com/repos/tmsw/swagger-node-restify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tmsw/swagger-node-restify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tmsw/swagger-node-restify/teams","hooks_url":"https://api.github.com/repos/tmsw/swagger-node-restify/hooks","issue_events_url":"https://api.github.com/repos/tmsw/swagger-node-restify/issues/events{/number}","events_url":"https://api.github.com/repos/tmsw/swagger-node-restify/events","assignees_url":"https://api.github.com/repos/tmsw/swagger-node-restify/assignees{/user}","branches_url":"https://api.github.com/repos/tmsw/swagger-node-restify/branches{/branch}","tags_url":"https://api.github.com/repos/tmsw/swagger-node-restify/tags","blobs_url":"https://api.github.com/repos/tmsw/swagger-node-restify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tmsw/swagger-node-restify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tmsw/swagger-node-restify/git/refs{/sha}","trees_url":"https://api.github.com/repos/tmsw/swagger-node-restify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tmsw/swagger-node-restify/statuses/{sha}","languages_url":"https://api.github.com/repos/tmsw/swagger-node-restify/languages","stargazers_url":"https://api.github.com/repos/tmsw/swagger-node-restify/stargazers","contributors_url":"https://api.github.com/repos/tmsw/swagger-node-restify/contributors","subscribers_url":"https://api.github.com/repos/tmsw/swagger-node-restify/subscribers","subscription_url":"https://api.github.com/repos/tmsw/swagger-node-restify/subscription","commits_url":"https://api.github.com/repos/tmsw/swagger-node-restify/commits{/sha}","git_commits_url":"https://api.github.com/repos/tmsw/swagger-node-restify/git/commits{/sha}","comments_url":"https://api.github.com/repos/tmsw/swagger-node-restify/comments{/number}","issue_comment_url":"https://api.github.com/repos/tmsw/swagger-node-restify/issues/comments/{number}","contents_url":"https://api.github.com/repos/tmsw/swagger-node-restify/contents/{+path}","compare_url":"https://api.github.com/repos/tmsw/swagger-node-restify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tmsw/swagger-node-restify/merges","archive_url":"https://api.github.com/repos/tmsw/swagger-node-restify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tmsw/swagger-node-restify/downloads","issues_url":"https://api.github.com/repos/tmsw/swagger-node-restify/issues{/number}","pulls_url":"https://api.github.com/repos/tmsw/swagger-node-restify/pulls{/number}","milestones_url":"https://api.github.com/repos/tmsw/swagger-node-restify/milestones{/number}","notifications_url":"https://api.github.com/repos/tmsw/swagger-node-restify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tmsw/swagger-node-restify/labels{/name}","releases_url":"https://api.github.com/repos/tmsw/swagger-node-restify/releases{/id}","created_at":"2013-07-27T17:34:53Z","updated_at":"2014-02-25T21:14:02Z","pushed_at":"2014-02-25T14:11:00Z","git_url":"git://github.com/tmsw/swagger-node-restify.git","ssh_url":"git@github.com:tmsw/swagger-node-restify.git","clone_url":"https://github.com/tmsw/swagger-node-restify.git","svn_url":"https://github.com/tmsw/swagger-node-restify","homepage":"","size":398,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":9,"default_branch":"master","master_branch":"master"}},"base":{"label":"wordnik:master","ref":"master","sha":"7052c0e19a1f9ff95a26f57ce00da214d145730d","user":{"login":"wordnik","id":118978,"avatar_url":"https://gravatar.com/avatar/fab5c19252d88b1df1aeb0522bb1b4bc?d=https%3A%2F%2Fidenticons.github.com%2F34ffad4776facfcfca806ea92920ea76.png&r=x","gravatar_id":"fab5c19252d88b1df1aeb0522bb1b4bc","url":"https://api.github.com/users/wordnik","html_url":"https://github.com/wordnik","followers_url":"https://api.github.com/users/wordnik/followers","following_url":"https://api.github.com/users/wordnik/following{/other_user}","gists_url":"https://api.github.com/users/wordnik/gists{/gist_id}","starred_url":"https://api.github.com/users/wordnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordnik/subscriptions","organizations_url":"https://api.github.com/users/wordnik/orgs","repos_url":"https://api.github.com/users/wordnik/repos","events_url":"https://api.github.com/users/wordnik/events{/privacy}","received_events_url":"https://api.github.com/users/wordnik/received_events","type":"Organization","site_admin":false},"repo":{"id":2219738,"name":"swagger-node-express","full_name":"wordnik/swagger-node-express","owner":{"login":"wordnik","id":118978,"avatar_url":"https://gravatar.com/avatar/fab5c19252d88b1df1aeb0522bb1b4bc?d=https%3A%2F%2Fidenticons.github.com%2F34ffad4776facfcfca806ea92920ea76.png&r=x","gravatar_id":"fab5c19252d88b1df1aeb0522bb1b4bc","url":"https://api.github.com/users/wordnik","html_url":"https://github.com/wordnik","followers_url":"https://api.github.com/users/wordnik/followers","following_url":"https://api.github.com/users/wordnik/following{/other_user}","gists_url":"https://api.github.com/users/wordnik/gists{/gist_id}","starred_url":"https://api.github.com/users/wordnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordnik/subscriptions","organizations_url":"https://api.github.com/users/wordnik/orgs","repos_url":"https://api.github.com/users/wordnik/repos","events_url":"https://api.github.com/users/wordnik/events{/privacy}","received_events_url":"https://api.github.com/users/wordnik/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wordnik/swagger-node-express","description":"Swagger module for node.js w/express module","fork":false,"url":"https://api.github.com/repos/wordnik/swagger-node-express","forks_url":"https://api.github.com/repos/wordnik/swagger-node-express/forks","keys_url":"https://api.github.com/repos/wordnik/swagger-node-express/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wordnik/swagger-node-express/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wordnik/swagger-node-express/teams","hooks_url":"https://api.github.com/repos/wordnik/swagger-node-express/hooks","issue_events_url":"https://api.github.com/repos/wordnik/swagger-node-express/issues/events{/number}","events_url":"https://api.github.com/repos/wordnik/swagger-node-express/events","assignees_url":"https://api.github.com/repos/wordnik/swagger-node-express/assignees{/user}","branches_url":"https://api.github.com/repos/wordnik/swagger-node-express/branches{/branch}","tags_url":"https://api.github.com/repos/wordnik/swagger-node-express/tags","blobs_url":"https://api.github.com/repos/wordnik/swagger-node-express/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wordnik/swagger-node-express/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wordnik/swagger-node-express/git/refs{/sha}","trees_url":"https://api.github.com/repos/wordnik/swagger-node-express/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wordnik/swagger-node-express/statuses/{sha}","languages_url":"https://api.github.com/repos/wordnik/swagger-node-express/languages","stargazers_url":"https://api.github.com/repos/wordnik/swagger-node-express/stargazers","contributors_url":"https://api.github.com/repos/wordnik/swagger-node-express/contributors","subscribers_url":"https://api.github.com/repos/wordnik/swagger-node-express/subscribers","subscription_url":"https://api.github.com/repos/wordnik/swagger-node-express/subscription","commits_url":"https://api.github.com/repos/wordnik/swagger-node-express/commits{/sha}","git_commits_url":"https://api.github.com/repos/wordnik/swagger-node-express/git/commits{/sha}","comments_url":"https://api.github.com/repos/wordnik/swagger-node-express/comments{/number}","issue_comment_url":"https://api.github.com/repos/wordnik/swagger-node-express/issues/comments/{number}","contents_url":"https://api.github.com/repos/wordnik/swagger-node-express/contents/{+path}","compare_url":"https://api.github.com/repos/wordnik/swagger-node-express/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wordnik/swagger-node-express/merges","archive_url":"https://api.github.com/repos/wordnik/swagger-node-express/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wordnik/swagger-node-express/downloads","issues_url":"https://api.github.com/repos/wordnik/swagger-node-express/issues{/number}","pulls_url":"https://api.github.com/repos/wordnik/swagger-node-express/pulls{/number}","milestones_url":"https://api.github.com/repos/wordnik/swagger-node-express/milestones{/number}","notifications_url":"https://api.github.com/repos/wordnik/swagger-node-express/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wordnik/swagger-node-express/labels{/name}","releases_url":"https://api.github.com/repos/wordnik/swagger-node-express/releases{/id}","created_at":"2011-08-17T03:51:37Z","updated_at":"2014-02-07T22:29:25Z","pushed_at":"2014-02-07T22:29:21Z","git_url":"git://github.com/wordnik/swagger-node-express.git","ssh_url":"git@github.com:wordnik/swagger-node-express.git","clone_url":"https://github.com/wordnik/swagger-node-express.git","svn_url":"https://github.com/wordnik/swagger-node-express","homepage":"","size":882,"stargazers_count":270,"watchers_count":270,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":91,"mirror_url":null,"open_issues_count":11,"forks":91,"open_issues":11,"watchers":270,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wordnik/swagger-node-express/pulls/98"},"html":{"href":"https://github.com/wordnik/swagger-node-express/pull/98"},"issue":{"href":"https://api.github.com/repos/wordnik/swagger-node-express/issues/98"},"comments":{"href":"https://api.github.com/repos/wordnik/swagger-node-express/issues/98/comments"},"review_comments":{"href":"https://api.github.com/repos/wordnik/swagger-node-express/pulls/98/comments"},"review_comment":{"href":"https://api.github.com/repos/wordnik/swagger-node-express/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/wordnik/swagger-node-express/pulls/98/commits"},"statuses":{"href":"https://api.github.com/repos/wordnik/swagger-node-express/statuses/42c9846e67c8d5998ebac52ffccd9aff5c6efe1f"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":0,"commits":12,"additions":73,"deletions":47,"changed_files":3}}