{"action":"created","issue":{"url":"https://api.github.com/repos/andygrunwald/go-gerrit/issues/54","repository_url":"https://api.github.com/repos/andygrunwald/go-gerrit","labels_url":"https://api.github.com/repos/andygrunwald/go-gerrit/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/andygrunwald/go-gerrit/issues/54/comments","events_url":"https://api.github.com/repos/andygrunwald/go-gerrit/issues/54/events","html_url":"https://github.com/andygrunwald/go-gerrit/pull/54","id":318732929,"number":54,"title":"Add Avatars field to AccountInfo.","user":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars3.githubusercontent.com/u/1924134?v=4","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-29T17:09:02Z","updated_at":"2018-04-29T20:08:17Z","closed_at":"2018-04-29T17:21:24Z","author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/andygrunwald/go-gerrit/pulls/54","html_url":"https://github.com/andygrunwald/go-gerrit/pull/54","diff_url":"https://github.com/andygrunwald/go-gerrit/pull/54.diff","patch_url":"https://github.com/andygrunwald/go-gerrit/pull/54.patch"},"body":"This change implements support for the avatars plugin.\r\nIt appears to be available on many Gerrit instances hosted by Google.\r\n\r\nUnfortunately, I have not been able to find any API documentation or\r\nsource for this augmentation of the [`AccountInfo`](https://gerrit-review.googlesource.com/Documentation/rest-api-accounts.html#account-info) entity. This change\r\nis implemented based on looking at real responses from Google-hosted\r\nGerrit instances. E.g.:\r\n\r\n\t$ curl 'https://gerrit-review.googlesource.com/accounts/1010008'\r\n\t)]}'\r\n\t{\r\n\t  \"_account_id\": 1010008,\r\n\t  \"name\": \"Example Example\",\r\n\t  \"email\": \"example@example.com\",\r\n\t  \"avatars\": [\r\n\t    {\r\n\t      \"url\": \"https://lh3.googleusercontent.com/-qjpKeQViQbI/AAAAAAAAAAI/AAAAAAAAAAA/_CVwpoi1Y8Y/s26-p/photo.jpg\",\r\n\t      \"height\": 26\r\n\t    },\r\n\t    {\r\n\t      \"url\": \"https://lh3.googleusercontent.com/-qjpKeQViQbI/AAAAAAAAAAI/AAAAAAAAAAA/_CVwpoi1Y8Y/s32-p/photo.jpg\",\r\n\t      \"height\": 32\r\n\t    },\r\n\t    {\r\n\t      \"url\": \"https://lh3.googleusercontent.com/-qjpKeQViQbI/AAAAAAAAAAI/AAAAAAAAAAA/_CVwpoi1Y8Y/s100-p/photo.jpg\",\r\n\t      \"height\": 100\r\n\t    }\r\n\t  ]\r\n\t}\r\n\r\nResolves #51."},"comment":{"url":"https://api.github.com/repos/andygrunwald/go-gerrit/issues/comments/385277797","html_url":"https://github.com/andygrunwald/go-gerrit/pull/54#issuecomment-385277797","issue_url":"https://api.github.com/repos/andygrunwald/go-gerrit/issues/54","id":385277797,"user":{"login":"andygrunwald","id":320064,"avatar_url":"https://avatars3.githubusercontent.com/u/320064?v=4","gravatar_id":"","url":"https://api.github.com/users/andygrunwald","html_url":"https://github.com/andygrunwald","followers_url":"https://api.github.com/users/andygrunwald/followers","following_url":"https://api.github.com/users/andygrunwald/following{/other_user}","gists_url":"https://api.github.com/users/andygrunwald/gists{/gist_id}","starred_url":"https://api.github.com/users/andygrunwald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andygrunwald/subscriptions","organizations_url":"https://api.github.com/users/andygrunwald/orgs","repos_url":"https://api.github.com/users/andygrunwald/repos","events_url":"https://api.github.com/users/andygrunwald/events{/privacy}","received_events_url":"https://api.github.com/users/andygrunwald/received_events","type":"User","site_admin":false},"created_at":"2018-04-29T20:08:17Z","updated_at":"2018-04-29T20:08:17Z","author_association":"OWNER","body":"Interesting. Any idea who could be asked?"}}
{"actor":{"display_login":"andygrunwald"}}