public Project setProjectAvatar ( Object projectIdOrPath , File avatarFile ) throws GitLabApiException { Response response = putUpload ( Response . Status . OK , "avatar" , avatarFile , "projects" , getProjectIdOrPath ( projectIdOrPath ) ) ; return ( response . readEntity ( Project . class ) ) ; }
Uploads and sets the project avatar for the specified project .