{"action":"created","issue":{"url":"https://api.github.com/repos/clocklimited/cf-crud-service-api-builder/issues/2","labels_url":"https://api.github.com/repos/clocklimited/cf-crud-service-api-builder/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/clocklimited/cf-crud-service-api-builder/issues/2/comments","events_url":"https://api.github.com/repos/clocklimited/cf-crud-service-api-builder/issues/2/events","html_url":"https://github.com/clocklimited/cf-crud-service-api-builder/pull/2","id":96099322,"number":2,"title":"Turn api builder into an event emitter for easy extensibility","user":{"login":"microadam","id":857427,"avatar_url":"https://avatars.githubusercontent.com/u/857427?v=3","gravatar_id":"","url":"https://api.github.com/users/microadam","html_url":"https://github.com/microadam","followers_url":"https://api.github.com/users/microadam/followers","following_url":"https://api.github.com/users/microadam/following{/other_user}","gists_url":"https://api.github.com/users/microadam/gists{/gist_id}","starred_url":"https://api.github.com/users/microadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/microadam/subscriptions","organizations_url":"https://api.github.com/users/microadam/orgs","repos_url":"https://api.github.com/users/microadam/repos","events_url":"https://api.github.com/users/microadam/events{/privacy}","received_events_url":"https://api.github.com/users/microadam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-20T16:15:08Z","updated_at":"2015-07-21T09:40:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/clocklimited/cf-crud-service-api-builder/pulls/2","html_url":"https://github.com/clocklimited/cf-crud-service-api-builder/pull/2","diff_url":"https://github.com/clocklimited/cf-crud-service-api-builder/pull/2.diff","patch_url":"https://github.com/clocklimited/cf-crud-service-api-builder/pull/2.patch"},"body":"Changed the api builder to return an event emitter so that we can hook into the various actions and gain access to req as well as the newly saved data object.\r\n\r\n@bengourley @serby would you guys be able to take a look please? Any feedback appreciated.\r\n\r\nChanges are backwards compatible, so only a minor version bump needed"},"comment":{"url":"https://api.github.com/repos/clocklimited/cf-crud-service-api-builder/issues/comments/123241907","html_url":"https://github.com/clocklimited/cf-crud-service-api-builder/pull/2#issuecomment-123241907","issue_url":"https://api.github.com/repos/clocklimited/cf-crud-service-api-builder/issues/2","id":123241907,"user":{"login":"bengourley","id":609579,"avatar_url":"https://avatars.githubusercontent.com/u/609579?v=3","gravatar_id":"","url":"https://api.github.com/users/bengourley","html_url":"https://github.com/bengourley","followers_url":"https://api.github.com/users/bengourley/followers","following_url":"https://api.github.com/users/bengourley/following{/other_user}","gists_url":"https://api.github.com/users/bengourley/gists{/gist_id}","starred_url":"https://api.github.com/users/bengourley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bengourley/subscriptions","organizations_url":"https://api.github.com/users/bengourley/orgs","repos_url":"https://api.github.com/users/bengourley/repos","events_url":"https://api.github.com/users/bengourley/events{/privacy}","received_events_url":"https://api.github.com/users/bengourley/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T09:40:10Z","updated_at":"2015-07-21T09:40:10Z","body":"Am just wondering, with respect to the event name: `get`, `put`, `patch` etc… if new API non-crud endpoints are added, they will be using one of these http verbs and you'd end up with a duplicate event name. Why not use 'create', 'find', 'update', 'delete' etc?\r\n\r\nOther than that, all good from my point of view :+1: "}}