{"action":"opened","number":20,"pull_request":{"url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/pulls/20","id":38925029,"html_url":"https://github.com/uwolfer/gerrit-rest-java-client/pull/20","diff_url":"https://github.com/uwolfer/gerrit-rest-java-client/pull/20.diff","patch_url":"https://github.com/uwolfer/gerrit-rest-java-client/pull/20.patch","issue_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/issues/20","number":20,"state":"open","locked":false,"title":"Fixed IOException while trying to convert file base64 content data to json","user":{"login":"wyvie","id":3992240,"avatar_url":"https://avatars.githubusercontent.com/u/3992240?v=3","gravatar_id":"","url":"https://api.github.com/users/wyvie","html_url":"https://github.com/wyvie","followers_url":"https://api.github.com/users/wyvie/followers","following_url":"https://api.github.com/users/wyvie/following{/other_user}","gists_url":"https://api.github.com/users/wyvie/gists{/gist_id}","starred_url":"https://api.github.com/users/wyvie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyvie/subscriptions","organizations_url":"https://api.github.com/users/wyvie/orgs","repos_url":"https://api.github.com/users/wyvie/repos","events_url":"https://api.github.com/users/wyvie/events{/privacy}","received_events_url":"https://api.github.com/users/wyvie/received_events","type":"User","site_admin":false},"body":"When trying to fetch file content, you'll always get IOException, because current code always tries to parse base64 server response into json, which is usually impossible.","created_at":"2015-06-30T21:13:28Z","updated_at":"2015-06-30T21:13:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/pulls/20/commits","review_comments_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/pulls/20/comments","review_comment_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/issues/20/comments","statuses_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/statuses/09d6ac82c6be5bcd50bb49d7a4a9abb32852ad4e","head":{"label":"wyvie:filecontentfix","ref":"filecontentfix","sha":"09d6ac82c6be5bcd50bb49d7a4a9abb32852ad4e","user":{"login":"wyvie","id":3992240,"avatar_url":"https://avatars.githubusercontent.com/u/3992240?v=3","gravatar_id":"","url":"https://api.github.com/users/wyvie","html_url":"https://github.com/wyvie","followers_url":"https://api.github.com/users/wyvie/followers","following_url":"https://api.github.com/users/wyvie/following{/other_user}","gists_url":"https://api.github.com/users/wyvie/gists{/gist_id}","starred_url":"https://api.github.com/users/wyvie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyvie/subscriptions","organizations_url":"https://api.github.com/users/wyvie/orgs","repos_url":"https://api.github.com/users/wyvie/repos","events_url":"https://api.github.com/users/wyvie/events{/privacy}","received_events_url":"https://api.github.com/users/wyvie/received_events","type":"User","site_admin":false},"repo":{"id":38329757,"name":"gerrit-rest-java-client","full_name":"wyvie/gerrit-rest-java-client","owner":{"login":"wyvie","id":3992240,"avatar_url":"https://avatars.githubusercontent.com/u/3992240?v=3","gravatar_id":"","url":"https://api.github.com/users/wyvie","html_url":"https://github.com/wyvie","followers_url":"https://api.github.com/users/wyvie/followers","following_url":"https://api.github.com/users/wyvie/following{/other_user}","gists_url":"https://api.github.com/users/wyvie/gists{/gist_id}","starred_url":"https://api.github.com/users/wyvie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyvie/subscriptions","organizations_url":"https://api.github.com/users/wyvie/orgs","repos_url":"https://api.github.com/users/wyvie/repos","events_url":"https://api.github.com/users/wyvie/events{/privacy}","received_events_url":"https://api.github.com/users/wyvie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wyvie/gerrit-rest-java-client","description":"Java REST client for Gerrit Code Review","fork":true,"url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client","forks_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/forks","keys_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/teams","hooks_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/hooks","issue_events_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/issues/events{/number}","events_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/events","assignees_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/assignees{/user}","branches_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/branches{/branch}","tags_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/tags","blobs_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/statuses/{sha}","languages_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/languages","stargazers_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/stargazers","contributors_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/contributors","subscribers_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/subscribers","subscription_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/subscription","commits_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/contents/{+path}","compare_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/merges","archive_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/downloads","issues_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/issues{/number}","pulls_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/pulls{/number}","milestones_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/milestones{/number}","notifications_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/labels{/name}","releases_url":"https://api.github.com/repos/wyvie/gerrit-rest-java-client/releases{/id}","created_at":"2015-06-30T19:50:23Z","updated_at":"2015-06-30T19:50:24Z","pushed_at":"2015-06-30T21:11:40Z","git_url":"git://github.com/wyvie/gerrit-rest-java-client.git","ssh_url":"git@github.com:wyvie/gerrit-rest-java-client.git","clone_url":"https://github.com/wyvie/gerrit-rest-java-client.git","svn_url":"https://github.com/wyvie/gerrit-rest-java-client","homepage":null,"size":1485,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"uwolfer:master","ref":"master","sha":"fe6334cdb7c36004a3523de04e67c21e80891d00","user":{"login":"uwolfer","id":2202,"avatar_url":"https://avatars.githubusercontent.com/u/2202?v=3","gravatar_id":"","url":"https://api.github.com/users/uwolfer","html_url":"https://github.com/uwolfer","followers_url":"https://api.github.com/users/uwolfer/followers","following_url":"https://api.github.com/users/uwolfer/following{/other_user}","gists_url":"https://api.github.com/users/uwolfer/gists{/gist_id}","starred_url":"https://api.github.com/users/uwolfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uwolfer/subscriptions","organizations_url":"https://api.github.com/users/uwolfer/orgs","repos_url":"https://api.github.com/users/uwolfer/repos","events_url":"https://api.github.com/users/uwolfer/events{/privacy}","received_events_url":"https://api.github.com/users/uwolfer/received_events","type":"User","site_admin":false},"repo":{"id":20227824,"name":"gerrit-rest-java-client","full_name":"uwolfer/gerrit-rest-java-client","owner":{"login":"uwolfer","id":2202,"avatar_url":"https://avatars.githubusercontent.com/u/2202?v=3","gravatar_id":"","url":"https://api.github.com/users/uwolfer","html_url":"https://github.com/uwolfer","followers_url":"https://api.github.com/users/uwolfer/followers","following_url":"https://api.github.com/users/uwolfer/following{/other_user}","gists_url":"https://api.github.com/users/uwolfer/gists{/gist_id}","starred_url":"https://api.github.com/users/uwolfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uwolfer/subscriptions","organizations_url":"https://api.github.com/users/uwolfer/orgs","repos_url":"https://api.github.com/users/uwolfer/repos","events_url":"https://api.github.com/users/uwolfer/events{/privacy}","received_events_url":"https://api.github.com/users/uwolfer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uwolfer/gerrit-rest-java-client","description":"Java REST client for Gerrit Code Review","fork":false,"url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client","forks_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/forks","keys_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/teams","hooks_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/hooks","issue_events_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/issues/events{/number}","events_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/events","assignees_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/assignees{/user}","branches_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/branches{/branch}","tags_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/tags","blobs_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/statuses/{sha}","languages_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/languages","stargazers_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/stargazers","contributors_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/contributors","subscribers_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/subscribers","subscription_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/subscription","commits_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/contents/{+path}","compare_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/merges","archive_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/downloads","issues_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/issues{/number}","pulls_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/pulls{/number}","milestones_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/milestones{/number}","notifications_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/labels{/name}","releases_url":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/releases{/id}","created_at":"2014-05-27T16:58:38Z","updated_at":"2015-06-25T21:08:18Z","pushed_at":"2015-06-30T21:13:29Z","git_url":"git://github.com/uwolfer/gerrit-rest-java-client.git","ssh_url":"git@github.com:uwolfer/gerrit-rest-java-client.git","clone_url":"https://github.com/uwolfer/gerrit-rest-java-client.git","svn_url":"https://github.com/uwolfer/gerrit-rest-java-client","homepage":null,"size":1485,"stargazers_count":16,"watchers_count":16,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":3,"forks":9,"open_issues":3,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/pulls/20"},"html":{"href":"https://github.com/uwolfer/gerrit-rest-java-client/pull/20"},"issue":{"href":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/issues/20"},"comments":{"href":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/uwolfer/gerrit-rest-java-client/statuses/09d6ac82c6be5bcd50bb49d7a4a9abb32852ad4e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":44,"deletions":11,"changed_files":2}}