{"action":"created","issue":{"url":"https://api.github.com/repos/xanzy/go-gitlab/issues/229","repository_url":"https://api.github.com/repos/xanzy/go-gitlab","labels_url":"https://api.github.com/repos/xanzy/go-gitlab/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/xanzy/go-gitlab/issues/229/comments","events_url":"https://api.github.com/repos/xanzy/go-gitlab/issues/229/events","html_url":"https://github.com/xanzy/go-gitlab/issues/229","id":267454233,"number":229,"title":"Support for avatar option in create/edit project","user":{"login":"Bouwdie","id":133619,"avatar_url":"https://avatars1.githubusercontent.com/u/133619?v=4","gravatar_id":"","url":"https://api.github.com/users/Bouwdie","html_url":"https://github.com/Bouwdie","followers_url":"https://api.github.com/users/Bouwdie/followers","following_url":"https://api.github.com/users/Bouwdie/following{/other_user}","gists_url":"https://api.github.com/users/Bouwdie/gists{/gist_id}","starred_url":"https://api.github.com/users/Bouwdie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bouwdie/subscriptions","organizations_url":"https://api.github.com/users/Bouwdie/orgs","repos_url":"https://api.github.com/users/Bouwdie/repos","events_url":"https://api.github.com/users/Bouwdie/events{/privacy}","received_events_url":"https://api.github.com/users/Bouwdie/received_events","type":"User","site_admin":false},"labels":[{"id":193351213,"url":"https://api.github.com/repos/xanzy/go-gitlab/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-22T10:43:29Z","updated_at":"2017-11-01T19:10:03Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"https://docs.gitlab.com/ce/api/projects.html#edit-project -> Currently the CreateProjectOptions does not contain an entry to send along an `avatar`, even thought it is supported in the API. \r\nWould be great if we could upload an avatar :smile_cat: \r\n\r\nMaybe we can also directly support the other new params `ci_config_path` and `tag_list`?"},"comment":{"url":"https://api.github.com/repos/xanzy/go-gitlab/issues/comments/341208692","html_url":"https://github.com/xanzy/go-gitlab/issues/229#issuecomment-341208692","issue_url":"https://api.github.com/repos/xanzy/go-gitlab/issues/229","id":341208692,"user":{"login":"Bouwdie","id":133619,"avatar_url":"https://avatars1.githubusercontent.com/u/133619?v=4","gravatar_id":"","url":"https://api.github.com/users/Bouwdie","html_url":"https://github.com/Bouwdie","followers_url":"https://api.github.com/users/Bouwdie/followers","following_url":"https://api.github.com/users/Bouwdie/following{/other_user}","gists_url":"https://api.github.com/users/Bouwdie/gists{/gist_id}","starred_url":"https://api.github.com/users/Bouwdie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bouwdie/subscriptions","organizations_url":"https://api.github.com/users/Bouwdie/orgs","repos_url":"https://api.github.com/users/Bouwdie/repos","events_url":"https://api.github.com/users/Bouwdie/events{/privacy}","received_events_url":"https://api.github.com/users/Bouwdie/received_events","type":"User","site_admin":false},"created_at":"2017-11-01T19:10:03Z","updated_at":"2017-11-01T19:10:03Z","author_association":"CONTRIBUTOR","body":"In the original merge request i also found the following curl example of an avatar upload: \r\nhttps://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12143\r\n\r\n`curl --request PUT --header \"PRIVATE-TOKEN: XXXXXXXXX\" --form \"avatar=@/tmp/test.jpg\" https://my-gitlab-instance.io/api/v4/users/2\r\n`"}}
{"actor":{"display_login":"Bouwdie"}}