{"action":"opened","number":80,"pull_request":{"url":"https://api.github.com/repos/juju/charmrepo/pulls/80","id":63792249,"html_url":"https://github.com/juju/charmrepo/pull/80","diff_url":"https://github.com/juju/charmrepo/pull/80.diff","patch_url":"https://github.com/juju/charmrepo/pull/80.patch","issue_url":"https://api.github.com/repos/juju/charmrepo/issues/80","number":80,"state":"open","locked":false,"title":"change GetResource to return the full resource metadata w/ bytes","user":{"login":"natefinch","id":3185864,"avatar_url":"https://avatars.githubusercontent.com/u/3185864?v=3","gravatar_id":"","url":"https://api.github.com/users/natefinch","html_url":"https://github.com/natefinch","followers_url":"https://api.github.com/users/natefinch/followers","following_url":"https://api.github.com/users/natefinch/following{/other_user}","gists_url":"https://api.github.com/users/natefinch/gists{/gist_id}","starred_url":"https://api.github.com/users/natefinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natefinch/subscriptions","organizations_url":"https://api.github.com/users/natefinch/orgs","repos_url":"https://api.github.com/users/natefinch/repos","events_url":"https://api.github.com/users/natefinch/events{/privacy}","received_events_url":"https://api.github.com/users/natefinch/received_events","type":"User","site_admin":false},"body":"We changed to use a multipart body to return the data, so we don't have to use a bunch of ugly headers.\r\n\r\nAlso did a little cleanup of some spots where we were unnecessarily reading the full body into memory.","created_at":"2016-03-22T21:01:33Z","updated_at":"2016-03-22T21:01:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/juju/charmrepo/pulls/80/commits","review_comments_url":"https://api.github.com/repos/juju/charmrepo/pulls/80/comments","review_comment_url":"https://api.github.com/repos/juju/charmrepo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/juju/charmrepo/issues/80/comments","statuses_url":"https://api.github.com/repos/juju/charmrepo/statuses/0001db7817eb6f24cd9b96e59f3b3dc12b250dfd","head":{"label":"natefinch:multi-part-get-res","ref":"multi-part-get-res","sha":"0001db7817eb6f24cd9b96e59f3b3dc12b250dfd","user":{"login":"natefinch","id":3185864,"avatar_url":"https://avatars.githubusercontent.com/u/3185864?v=3","gravatar_id":"","url":"https://api.github.com/users/natefinch","html_url":"https://github.com/natefinch","followers_url":"https://api.github.com/users/natefinch/followers","following_url":"https://api.github.com/users/natefinch/following{/other_user}","gists_url":"https://api.github.com/users/natefinch/gists{/gist_id}","starred_url":"https://api.github.com/users/natefinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natefinch/subscriptions","organizations_url":"https://api.github.com/users/natefinch/orgs","repos_url":"https://api.github.com/users/natefinch/repos","events_url":"https://api.github.com/users/natefinch/events{/privacy}","received_events_url":"https://api.github.com/users/natefinch/received_events","type":"User","site_admin":false},"repo":{"id":53153016,"name":"charmrepo","full_name":"natefinch/charmrepo","owner":{"login":"natefinch","id":3185864,"avatar_url":"https://avatars.githubusercontent.com/u/3185864?v=3","gravatar_id":"","url":"https://api.github.com/users/natefinch","html_url":"https://github.com/natefinch","followers_url":"https://api.github.com/users/natefinch/followers","following_url":"https://api.github.com/users/natefinch/following{/other_user}","gists_url":"https://api.github.com/users/natefinch/gists{/gist_id}","starred_url":"https://api.github.com/users/natefinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natefinch/subscriptions","organizations_url":"https://api.github.com/users/natefinch/orgs","repos_url":"https://api.github.com/users/natefinch/repos","events_url":"https://api.github.com/users/natefinch/events{/privacy}","received_events_url":"https://api.github.com/users/natefinch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/natefinch/charmrepo","description":"Charm repositories and charmstore client packages","fork":true,"url":"https://api.github.com/repos/natefinch/charmrepo","forks_url":"https://api.github.com/repos/natefinch/charmrepo/forks","keys_url":"https://api.github.com/repos/natefinch/charmrepo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/natefinch/charmrepo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/natefinch/charmrepo/teams","hooks_url":"https://api.github.com/repos/natefinch/charmrepo/hooks","issue_events_url":"https://api.github.com/repos/natefinch/charmrepo/issues/events{/number}","events_url":"https://api.github.com/repos/natefinch/charmrepo/events","assignees_url":"https://api.github.com/repos/natefinch/charmrepo/assignees{/user}","branches_url":"https://api.github.com/repos/natefinch/charmrepo/branches{/branch}","tags_url":"https://api.github.com/repos/natefinch/charmrepo/tags","blobs_url":"https://api.github.com/repos/natefinch/charmrepo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/natefinch/charmrepo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/natefinch/charmrepo/git/refs{/sha}","trees_url":"https://api.github.com/repos/natefinch/charmrepo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/natefinch/charmrepo/statuses/{sha}","languages_url":"https://api.github.com/repos/natefinch/charmrepo/languages","stargazers_url":"https://api.github.com/repos/natefinch/charmrepo/stargazers","contributors_url":"https://api.github.com/repos/natefinch/charmrepo/contributors","subscribers_url":"https://api.github.com/repos/natefinch/charmrepo/subscribers","subscription_url":"https://api.github.com/repos/natefinch/charmrepo/subscription","commits_url":"https://api.github.com/repos/natefinch/charmrepo/commits{/sha}","git_commits_url":"https://api.github.com/repos/natefinch/charmrepo/git/commits{/sha}","comments_url":"https://api.github.com/repos/natefinch/charmrepo/comments{/number}","issue_comment_url":"https://api.github.com/repos/natefinch/charmrepo/issues/comments{/number}","contents_url":"https://api.github.com/repos/natefinch/charmrepo/contents/{+path}","compare_url":"https://api.github.com/repos/natefinch/charmrepo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/natefinch/charmrepo/merges","archive_url":"https://api.github.com/repos/natefinch/charmrepo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/natefinch/charmrepo/downloads","issues_url":"https://api.github.com/repos/natefinch/charmrepo/issues{/number}","pulls_url":"https://api.github.com/repos/natefinch/charmrepo/pulls{/number}","milestones_url":"https://api.github.com/repos/natefinch/charmrepo/milestones{/number}","notifications_url":"https://api.github.com/repos/natefinch/charmrepo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/natefinch/charmrepo/labels{/name}","releases_url":"https://api.github.com/repos/natefinch/charmrepo/releases{/id}","deployments_url":"https://api.github.com/repos/natefinch/charmrepo/deployments","created_at":"2016-03-04T17:26:47Z","updated_at":"2016-03-04T17:26:48Z","pushed_at":"2016-03-22T20:57:23Z","git_url":"git://github.com/natefinch/charmrepo.git","ssh_url":"git@github.com:natefinch/charmrepo.git","clone_url":"https://github.com/natefinch/charmrepo.git","svn_url":"https://github.com/natefinch/charmrepo","homepage":null,"size":1082,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"v1"}},"base":{"label":"juju:v2-unstable","ref":"v2-unstable","sha":"7f8f38a687d5b5220b4b69b21d8f2c0e6408ff74","user":{"login":"juju","id":4604548,"avatar_url":"https://avatars.githubusercontent.com/u/4604548?v=3","gravatar_id":"","url":"https://api.github.com/users/juju","html_url":"https://github.com/juju","followers_url":"https://api.github.com/users/juju/followers","following_url":"https://api.github.com/users/juju/following{/other_user}","gists_url":"https://api.github.com/users/juju/gists{/gist_id}","starred_url":"https://api.github.com/users/juju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juju/subscriptions","organizations_url":"https://api.github.com/users/juju/orgs","repos_url":"https://api.github.com/users/juju/repos","events_url":"https://api.github.com/users/juju/events{/privacy}","received_events_url":"https://api.github.com/users/juju/received_events","type":"Organization","site_admin":false},"repo":{"id":34789506,"name":"charmrepo","full_name":"juju/charmrepo","owner":{"login":"juju","id":4604548,"avatar_url":"https://avatars.githubusercontent.com/u/4604548?v=3","gravatar_id":"","url":"https://api.github.com/users/juju","html_url":"https://github.com/juju","followers_url":"https://api.github.com/users/juju/followers","following_url":"https://api.github.com/users/juju/following{/other_user}","gists_url":"https://api.github.com/users/juju/gists{/gist_id}","starred_url":"https://api.github.com/users/juju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juju/subscriptions","organizations_url":"https://api.github.com/users/juju/orgs","repos_url":"https://api.github.com/users/juju/repos","events_url":"https://api.github.com/users/juju/events{/privacy}","received_events_url":"https://api.github.com/users/juju/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/juju/charmrepo","description":"Charm repositories and charmstore client packages","fork":false,"url":"https://api.github.com/repos/juju/charmrepo","forks_url":"https://api.github.com/repos/juju/charmrepo/forks","keys_url":"https://api.github.com/repos/juju/charmrepo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juju/charmrepo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juju/charmrepo/teams","hooks_url":"https://api.github.com/repos/juju/charmrepo/hooks","issue_events_url":"https://api.github.com/repos/juju/charmrepo/issues/events{/number}","events_url":"https://api.github.com/repos/juju/charmrepo/events","assignees_url":"https://api.github.com/repos/juju/charmrepo/assignees{/user}","branches_url":"https://api.github.com/repos/juju/charmrepo/branches{/branch}","tags_url":"https://api.github.com/repos/juju/charmrepo/tags","blobs_url":"https://api.github.com/repos/juju/charmrepo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juju/charmrepo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juju/charmrepo/git/refs{/sha}","trees_url":"https://api.github.com/repos/juju/charmrepo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juju/charmrepo/statuses/{sha}","languages_url":"https://api.github.com/repos/juju/charmrepo/languages","stargazers_url":"https://api.github.com/repos/juju/charmrepo/stargazers","contributors_url":"https://api.github.com/repos/juju/charmrepo/contributors","subscribers_url":"https://api.github.com/repos/juju/charmrepo/subscribers","subscription_url":"https://api.github.com/repos/juju/charmrepo/subscription","commits_url":"https://api.github.com/repos/juju/charmrepo/commits{/sha}","git_commits_url":"https://api.github.com/repos/juju/charmrepo/git/commits{/sha}","comments_url":"https://api.github.com/repos/juju/charmrepo/comments{/number}","issue_comment_url":"https://api.github.com/repos/juju/charmrepo/issues/comments{/number}","contents_url":"https://api.github.com/repos/juju/charmrepo/contents/{+path}","compare_url":"https://api.github.com/repos/juju/charmrepo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juju/charmrepo/merges","archive_url":"https://api.github.com/repos/juju/charmrepo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juju/charmrepo/downloads","issues_url":"https://api.github.com/repos/juju/charmrepo/issues{/number}","pulls_url":"https://api.github.com/repos/juju/charmrepo/pulls{/number}","milestones_url":"https://api.github.com/repos/juju/charmrepo/milestones{/number}","notifications_url":"https://api.github.com/repos/juju/charmrepo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juju/charmrepo/labels{/name}","releases_url":"https://api.github.com/repos/juju/charmrepo/releases{/id}","deployments_url":"https://api.github.com/repos/juju/charmrepo/deployments","created_at":"2015-04-29T11:15:01Z","updated_at":"2015-05-06T15:05:08Z","pushed_at":"2016-03-19T00:51:36Z","git_url":"git://github.com/juju/charmrepo.git","ssh_url":"git@github.com:juju/charmrepo.git","clone_url":"https://github.com/juju/charmrepo.git","svn_url":"https://github.com/juju/charmrepo","homepage":null,"size":1165,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":2,"forks":11,"open_issues":2,"watchers":0,"default_branch":"v1"}},"_links":{"self":{"href":"https://api.github.com/repos/juju/charmrepo/pulls/80"},"html":{"href":"https://github.com/juju/charmrepo/pull/80"},"issue":{"href":"https://api.github.com/repos/juju/charmrepo/issues/80"},"comments":{"href":"https://api.github.com/repos/juju/charmrepo/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/juju/charmrepo/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/juju/charmrepo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/juju/charmrepo/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/juju/charmrepo/statuses/0001db7817eb6f24cd9b96e59f3b3dc12b250dfd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":79,"deletions":51,"changed_files":3}}