{"action":"opened","number":58,"pull_request":{"url":"https://api.github.com/repos/koajs/static/pulls/58","id":49034085,"html_url":"https://github.com/koajs/static/pull/58","diff_url":"https://github.com/koajs/static/pull/58.diff","patch_url":"https://github.com/koajs/static/pull/58.patch","issue_url":"https://api.github.com/repos/koajs/static/issues/58","number":58,"state":"open","locked":false,"title":"Convert to promise-based middleware","user":{"login":"smcmurray","id":1036479,"avatar_url":"https://avatars.githubusercontent.com/u/1036479?v=3","gravatar_id":"","url":"https://api.github.com/users/smcmurray","html_url":"https://github.com/smcmurray","followers_url":"https://api.github.com/users/smcmurray/followers","following_url":"https://api.github.com/users/smcmurray/following{/other_user}","gists_url":"https://api.github.com/users/smcmurray/gists{/gist_id}","starred_url":"https://api.github.com/users/smcmurray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smcmurray/subscriptions","organizations_url":"https://api.github.com/users/smcmurray/orgs","repos_url":"https://api.github.com/users/smcmurray/repos","events_url":"https://api.github.com/users/smcmurray/events{/privacy}","received_events_url":"https://api.github.com/users/smcmurray/received_events","type":"User","site_admin":false},"body":"This uses the koa v2 series (currently alpha) and the koa-send v3 series.","created_at":"2015-10-28T16:50:41Z","updated_at":"2015-10-28T16:50:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/koajs/static/pulls/58/commits","review_comments_url":"https://api.github.com/repos/koajs/static/pulls/58/comments","review_comment_url":"https://api.github.com/repos/koajs/static/pulls/comments{/number}","comments_url":"https://api.github.com/repos/koajs/static/issues/58/comments","statuses_url":"https://api.github.com/repos/koajs/static/statuses/69158f5dd0369b820824b7439e7e1e29adbf7736","head":{"label":"smcmurray:promise","ref":"promise","sha":"69158f5dd0369b820824b7439e7e1e29adbf7736","user":{"login":"smcmurray","id":1036479,"avatar_url":"https://avatars.githubusercontent.com/u/1036479?v=3","gravatar_id":"","url":"https://api.github.com/users/smcmurray","html_url":"https://github.com/smcmurray","followers_url":"https://api.github.com/users/smcmurray/followers","following_url":"https://api.github.com/users/smcmurray/following{/other_user}","gists_url":"https://api.github.com/users/smcmurray/gists{/gist_id}","starred_url":"https://api.github.com/users/smcmurray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smcmurray/subscriptions","organizations_url":"https://api.github.com/users/smcmurray/orgs","repos_url":"https://api.github.com/users/smcmurray/repos","events_url":"https://api.github.com/users/smcmurray/events{/privacy}","received_events_url":"https://api.github.com/users/smcmurray/received_events","type":"User","site_admin":false},"repo":{"id":45127492,"name":"static","full_name":"smcmurray/static","owner":{"login":"smcmurray","id":1036479,"avatar_url":"https://avatars.githubusercontent.com/u/1036479?v=3","gravatar_id":"","url":"https://api.github.com/users/smcmurray","html_url":"https://github.com/smcmurray","followers_url":"https://api.github.com/users/smcmurray/followers","following_url":"https://api.github.com/users/smcmurray/following{/other_user}","gists_url":"https://api.github.com/users/smcmurray/gists{/gist_id}","starred_url":"https://api.github.com/users/smcmurray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smcmurray/subscriptions","organizations_url":"https://api.github.com/users/smcmurray/orgs","repos_url":"https://api.github.com/users/smcmurray/repos","events_url":"https://api.github.com/users/smcmurray/events{/privacy}","received_events_url":"https://api.github.com/users/smcmurray/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smcmurray/static","description":"Static file server middleware","fork":true,"url":"https://api.github.com/repos/smcmurray/static","forks_url":"https://api.github.com/repos/smcmurray/static/forks","keys_url":"https://api.github.com/repos/smcmurray/static/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smcmurray/static/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smcmurray/static/teams","hooks_url":"https://api.github.com/repos/smcmurray/static/hooks","issue_events_url":"https://api.github.com/repos/smcmurray/static/issues/events{/number}","events_url":"https://api.github.com/repos/smcmurray/static/events","assignees_url":"https://api.github.com/repos/smcmurray/static/assignees{/user}","branches_url":"https://api.github.com/repos/smcmurray/static/branches{/branch}","tags_url":"https://api.github.com/repos/smcmurray/static/tags","blobs_url":"https://api.github.com/repos/smcmurray/static/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smcmurray/static/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smcmurray/static/git/refs{/sha}","trees_url":"https://api.github.com/repos/smcmurray/static/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smcmurray/static/statuses/{sha}","languages_url":"https://api.github.com/repos/smcmurray/static/languages","stargazers_url":"https://api.github.com/repos/smcmurray/static/stargazers","contributors_url":"https://api.github.com/repos/smcmurray/static/contributors","subscribers_url":"https://api.github.com/repos/smcmurray/static/subscribers","subscription_url":"https://api.github.com/repos/smcmurray/static/subscription","commits_url":"https://api.github.com/repos/smcmurray/static/commits{/sha}","git_commits_url":"https://api.github.com/repos/smcmurray/static/git/commits{/sha}","comments_url":"https://api.github.com/repos/smcmurray/static/comments{/number}","issue_comment_url":"https://api.github.com/repos/smcmurray/static/issues/comments{/number}","contents_url":"https://api.github.com/repos/smcmurray/static/contents/{+path}","compare_url":"https://api.github.com/repos/smcmurray/static/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smcmurray/static/merges","archive_url":"https://api.github.com/repos/smcmurray/static/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smcmurray/static/downloads","issues_url":"https://api.github.com/repos/smcmurray/static/issues{/number}","pulls_url":"https://api.github.com/repos/smcmurray/static/pulls{/number}","milestones_url":"https://api.github.com/repos/smcmurray/static/milestones{/number}","notifications_url":"https://api.github.com/repos/smcmurray/static/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smcmurray/static/labels{/name}","releases_url":"https://api.github.com/repos/smcmurray/static/releases{/id}","created_at":"2015-10-28T16:47:58Z","updated_at":"2015-10-28T16:47:58Z","pushed_at":"2015-10-28T16:48:29Z","git_url":"git://github.com/smcmurray/static.git","ssh_url":"git@github.com:smcmurray/static.git","clone_url":"https://github.com/smcmurray/static.git","svn_url":"https://github.com/smcmurray/static","homepage":null,"size":411,"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":"koajs:master","ref":"master","sha":"20df2c7fc1138870628042832228efaa05d58e53","user":{"login":"koajs","id":5055057,"avatar_url":"https://avatars.githubusercontent.com/u/5055057?v=3","gravatar_id":"","url":"https://api.github.com/users/koajs","html_url":"https://github.com/koajs","followers_url":"https://api.github.com/users/koajs/followers","following_url":"https://api.github.com/users/koajs/following{/other_user}","gists_url":"https://api.github.com/users/koajs/gists{/gist_id}","starred_url":"https://api.github.com/users/koajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koajs/subscriptions","organizations_url":"https://api.github.com/users/koajs/orgs","repos_url":"https://api.github.com/users/koajs/repos","events_url":"https://api.github.com/users/koajs/events{/privacy}","received_events_url":"https://api.github.com/users/koajs/received_events","type":"Organization","site_admin":false},"repo":{"id":12182834,"name":"static","full_name":"koajs/static","owner":{"login":"koajs","id":5055057,"avatar_url":"https://avatars.githubusercontent.com/u/5055057?v=3","gravatar_id":"","url":"https://api.github.com/users/koajs","html_url":"https://github.com/koajs","followers_url":"https://api.github.com/users/koajs/followers","following_url":"https://api.github.com/users/koajs/following{/other_user}","gists_url":"https://api.github.com/users/koajs/gists{/gist_id}","starred_url":"https://api.github.com/users/koajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koajs/subscriptions","organizations_url":"https://api.github.com/users/koajs/orgs","repos_url":"https://api.github.com/users/koajs/repos","events_url":"https://api.github.com/users/koajs/events{/privacy}","received_events_url":"https://api.github.com/users/koajs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/koajs/static","description":"Static file server middleware","fork":false,"url":"https://api.github.com/repos/koajs/static","forks_url":"https://api.github.com/repos/koajs/static/forks","keys_url":"https://api.github.com/repos/koajs/static/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koajs/static/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koajs/static/teams","hooks_url":"https://api.github.com/repos/koajs/static/hooks","issue_events_url":"https://api.github.com/repos/koajs/static/issues/events{/number}","events_url":"https://api.github.com/repos/koajs/static/events","assignees_url":"https://api.github.com/repos/koajs/static/assignees{/user}","branches_url":"https://api.github.com/repos/koajs/static/branches{/branch}","tags_url":"https://api.github.com/repos/koajs/static/tags","blobs_url":"https://api.github.com/repos/koajs/static/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koajs/static/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koajs/static/git/refs{/sha}","trees_url":"https://api.github.com/repos/koajs/static/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koajs/static/statuses/{sha}","languages_url":"https://api.github.com/repos/koajs/static/languages","stargazers_url":"https://api.github.com/repos/koajs/static/stargazers","contributors_url":"https://api.github.com/repos/koajs/static/contributors","subscribers_url":"https://api.github.com/repos/koajs/static/subscribers","subscription_url":"https://api.github.com/repos/koajs/static/subscription","commits_url":"https://api.github.com/repos/koajs/static/commits{/sha}","git_commits_url":"https://api.github.com/repos/koajs/static/git/commits{/sha}","comments_url":"https://api.github.com/repos/koajs/static/comments{/number}","issue_comment_url":"https://api.github.com/repos/koajs/static/issues/comments{/number}","contents_url":"https://api.github.com/repos/koajs/static/contents/{+path}","compare_url":"https://api.github.com/repos/koajs/static/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koajs/static/merges","archive_url":"https://api.github.com/repos/koajs/static/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koajs/static/downloads","issues_url":"https://api.github.com/repos/koajs/static/issues{/number}","pulls_url":"https://api.github.com/repos/koajs/static/pulls{/number}","milestones_url":"https://api.github.com/repos/koajs/static/milestones{/number}","notifications_url":"https://api.github.com/repos/koajs/static/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koajs/static/labels{/name}","releases_url":"https://api.github.com/repos/koajs/static/releases{/id}","created_at":"2013-08-17T17:45:51Z","updated_at":"2015-10-27T12:44:28Z","pushed_at":"2015-10-21T06:57:29Z","git_url":"git://github.com/koajs/static.git","ssh_url":"git@github.com:koajs/static.git","clone_url":"https://github.com/koajs/static.git","svn_url":"https://github.com/koajs/static","homepage":null,"size":411,"stargazers_count":114,"watchers_count":114,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":5,"forks":18,"open_issues":5,"watchers":114,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/koajs/static/pulls/58"},"html":{"href":"https://github.com/koajs/static/pull/58"},"issue":{"href":"https://api.github.com/repos/koajs/static/issues/58"},"comments":{"href":"https://api.github.com/repos/koajs/static/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/koajs/static/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/koajs/static/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/koajs/static/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/koajs/static/statuses/69158f5dd0369b820824b7439e7e1e29adbf7736"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":50,"deletions":47,"changed_files":4}}