{"action":"opened","issue":{"url":"https://api.github.com/repos/margierain/eventManager/issues/9","repository_url":"https://api.github.com/repos/margierain/eventManager","labels_url":"https://api.github.com/repos/margierain/eventManager/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/margierain/eventManager/issues/9/comments","events_url":"https://api.github.com/repos/margierain/eventManager/issues/9/events","html_url":"https://github.com/margierain/eventManager/issues/9","id":309767525,"number":9,"title":"File does many things","user":{"login":"gsemwezi","id":1906681,"avatar_url":"https://avatars1.githubusercontent.com/u/1906681?v=4","gravatar_id":"","url":"https://api.github.com/users/gsemwezi","html_url":"https://github.com/gsemwezi","followers_url":"https://api.github.com/users/gsemwezi/followers","following_url":"https://api.github.com/users/gsemwezi/following{/other_user}","gists_url":"https://api.github.com/users/gsemwezi/gists{/gist_id}","starred_url":"https://api.github.com/users/gsemwezi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsemwezi/subscriptions","organizations_url":"https://api.github.com/users/gsemwezi/orgs","repos_url":"https://api.github.com/users/gsemwezi/repos","events_url":"https://api.github.com/users/gsemwezi/events{/privacy}","received_events_url":"https://api.github.com/users/gsemwezi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-29T14:03:25Z","updated_at":"2018-03-29T14:03:25Z","closed_at":null,"author_association":"NONE","body":"https://github.com/margierain/eventManager/blob/f561c2456d9a8854c65a8683c90cbc2dbe6813b0/app/utils/index.js#L13\r\n\r\nBesides doing many things: \r\n1. Javascript already has an error / exception class, how could you use it (Custom errors). In addition if you were following a standard for api responses, it already defines a standard so you dont really need to think about how to structure the api\r\n2. Think the filtering can fall under a search service maybe"}}
{"actor":{"display_login":"gsemwezi"}}