{"action":"created","issue":{"url":"https://api.github.com/repos/systers/mentorship-backend/issues/120","repository_url":"https://api.github.com/repos/systers/mentorship-backend","labels_url":"https://api.github.com/repos/systers/mentorship-backend/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/systers/mentorship-backend/issues/120/comments","events_url":"https://api.github.com/repos/systers/mentorship-backend/issues/120/events","html_url":"https://github.com/systers/mentorship-backend/issues/120","id":347096016,"node_id":"MDU6SXNzdWUzNDcwOTYwMTY=","number":120,"title":"Create GET /home API to get some statistics about the user usage","user":{"login":"isabelcosta","id":11148726,"node_id":"MDQ6VXNlcjExMTQ4NzI2","avatar_url":"https://avatars1.githubusercontent.com/u/11148726?v=4","gravatar_id":"","url":"https://api.github.com/users/isabelcosta","html_url":"https://github.com/isabelcosta","followers_url":"https://api.github.com/users/isabelcosta/followers","following_url":"https://api.github.com/users/isabelcosta/following{/other_user}","gists_url":"https://api.github.com/users/isabelcosta/gists{/gist_id}","starred_url":"https://api.github.com/users/isabelcosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isabelcosta/subscriptions","organizations_url":"https://api.github.com/users/isabelcosta/orgs","repos_url":"https://api.github.com/users/isabelcosta/repos","events_url":"https://api.github.com/users/isabelcosta/events{/privacy}","received_events_url":"https://api.github.com/users/isabelcosta/received_events","type":"User","site_admin":false},"labels":[{"id":935599294,"node_id":"MDU6TGFiZWw5MzU1OTkyOTQ=","url":"https://api.github.com/repos/systers/mentorship-backend/labels/Category:%20Coding","name":"Category: Coding","color":"005c88","default":false},{"id":1004443276,"node_id":"MDU6TGFiZWwxMDA0NDQzMjc2","url":"https://api.github.com/repos/systers/mentorship-backend/labels/Not%20Approved","name":"Not Approved","color":"ededed","default":false},{"id":935599505,"node_id":"MDU6TGFiZWw5MzU1OTk1MDU=","url":"https://api.github.com/repos/systers/mentorship-backend/labels/Status:%20Available","name":"Status: Available","color":"c1d82f","default":false},{"id":935599540,"node_id":"MDU6TGFiZWw5MzU1OTk1NDA=","url":"https://api.github.com/repos/systers/mentorship-backend/labels/Type:%20Enhancement","name":"Type: Enhancement","color":"f6b2cf","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-02T16:58:41Z","updated_at":"2018-12-20T06:17:16Z","closed_at":null,"author_association":"MEMBER","body":"## Description\r\nAs a developer,\r\nI need GET /home API,\r\nso that I can return to the frontend some information regarding the user's app usage.\r\n\r\nThis API is needed to enhance the Home Screen of the Android application issue https://github.com/systers/mentorship-android/issues/20\r\n\r\n**Data to be returned:**\r\n- \\# pending requests\r\n- \\# accepted requests\r\n- \\# completed relations\r\n- \\# cancelled relations\r\n- \\# rejected requests\r\n- ~3 recent achievements\r\n\r\n## Acceptance Criteria\r\n### Update [Required]\r\n- [ ] Create DAO function for this\r\n- [ ] Create API resource for this\r\n- [ ] Create tests for this\r\n\r\n## Definition of Done\r\n- [ ] All of the required items are completed.\r\n- [ ] Approval by 1 mentor.\r\n\r\n## Estimation\r\n4 hours\r\n"},"comment":{"url":"https://api.github.com/repos/systers/mentorship-backend/issues/comments/448886175","html_url":"https://github.com/systers/mentorship-backend/issues/120#issuecomment-448886175","issue_url":"https://api.github.com/repos/systers/mentorship-backend/issues/120","id":448886175,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODg4NjE3NQ==","user":{"login":"haroldadmin","id":24315306,"node_id":"MDQ6VXNlcjI0MzE1MzA2","avatar_url":"https://avatars0.githubusercontent.com/u/24315306?v=4","gravatar_id":"","url":"https://api.github.com/users/haroldadmin","html_url":"https://github.com/haroldadmin","followers_url":"https://api.github.com/users/haroldadmin/followers","following_url":"https://api.github.com/users/haroldadmin/following{/other_user}","gists_url":"https://api.github.com/users/haroldadmin/gists{/gist_id}","starred_url":"https://api.github.com/users/haroldadmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haroldadmin/subscriptions","organizations_url":"https://api.github.com/users/haroldadmin/orgs","repos_url":"https://api.github.com/users/haroldadmin/repos","events_url":"https://api.github.com/users/haroldadmin/events{/privacy}","received_events_url":"https://api.github.com/users/haroldadmin/received_events","type":"User","site_admin":false},"created_at":"2018-12-20T06:17:16Z","updated_at":"2018-12-20T06:17:16Z","author_association":"NONE","body":"@isabelcosta After our discussion I realized that we do have an achievements API. I'll add it and update the PR soon."}}
{"actor":{"display_login":"haroldadmin"}}