{"action":"closed","issue":{"url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/12","repository_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web","labels_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/12/comments","events_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/12/events","html_url":"https://github.com/Code4SocialGood/c4sg-web/issues/12","id":214263821,"number":12,"title":"My Account Page - Upload Avatar","user":{"login":"Code4SocialGood","id":24813620,"avatar_url":"https://avatars3.githubusercontent.com/u/24813620?v=3","gravatar_id":"","url":"https://api.github.com/users/Code4SocialGood","html_url":"https://github.com/Code4SocialGood","followers_url":"https://api.github.com/users/Code4SocialGood/followers","following_url":"https://api.github.com/users/Code4SocialGood/following{/other_user}","gists_url":"https://api.github.com/users/Code4SocialGood/gists{/gist_id}","starred_url":"https://api.github.com/users/Code4SocialGood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code4SocialGood/subscriptions","organizations_url":"https://api.github.com/users/Code4SocialGood/orgs","repos_url":"https://api.github.com/users/Code4SocialGood/repos","events_url":"https://api.github.com/users/Code4SocialGood/events{/privacy}","received_events_url":"https://api.github.com/users/Code4SocialGood/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/milestones/13","html_url":"https://github.com/Code4SocialGood/c4sg-web/milestone/13","labels_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/milestones/13/labels","id":2389591,"number":13,"title":"My Account Page","description":"","creator":{"login":"Code4SocialGood","id":24813620,"avatar_url":"https://avatars3.githubusercontent.com/u/24813620?v=3","gravatar_id":"","url":"https://api.github.com/users/Code4SocialGood","html_url":"https://github.com/Code4SocialGood","followers_url":"https://api.github.com/users/Code4SocialGood/followers","following_url":"https://api.github.com/users/Code4SocialGood/following{/other_user}","gists_url":"https://api.github.com/users/Code4SocialGood/gists{/gist_id}","starred_url":"https://api.github.com/users/Code4SocialGood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code4SocialGood/subscriptions","organizations_url":"https://api.github.com/users/Code4SocialGood/orgs","repos_url":"https://api.github.com/users/Code4SocialGood/repos","events_url":"https://api.github.com/users/Code4SocialGood/events{/privacy}","received_events_url":"https://api.github.com/users/Code4SocialGood/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":2,"state":"open","created_at":"2017-03-16T02:01:28Z","updated_at":"2017-03-19T04:13:42Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2017-03-15T02:25:26Z","updated_at":"2017-03-19T04:13:42Z","closed_at":"2017-03-19T04:13:41Z","body":"_From @Code4SocialGood on March 7, 2017 21:2_\r\n\r\n- **Web Path**\r\nHome Page -> John Doe -> My Account -> Upload\r\n\r\n- **Requirement**\r\nWhen user click Upload, user is able to choose a local file. \r\nYou task is to save this file to database using Rest API.\r\n\r\n- **Rest API** \r\nEndpoint: POST /api/user/{userId}/uploadAvartar\r\nDocumentation: Call the Rest API on http://localhost:8080/swagger-ui.html\r\n\r\n- **Test the Rest API**\r\nHere is how you test the uploadAvartar endpoint: ( You need to have backend running)\r\n1. Go to: https://www.base64encode.org/\r\n2. Upload an image file, and get the base64 string\r\n3. Go to http://localhost:8080/swagger-ui.html, Rest API /api/user/{userId}/uploadAvartar\r\n4. Provide the input parameters, with File content in base64 format\r\n5. Click Try out\r\n6. Check the file is uploaded to : \\C4SG\\C4SGSvc\\avartars\r\n7. If you have question on this Rest Endpoint, you could talk to the developer: nightcapybara on Slack\r\n\r\n_Copied from original issue: Code4SocialGood/C4SG#458_"}}
{"actor":{"display_login":"Code4SocialGood"}}