{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/sails/issues/1829","labels_url":"https://api.github.com/repos/balderdashy/sails/issues/1829/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails/issues/1829/comments","events_url":"https://api.github.com/repos/balderdashy/sails/issues/1829/events","html_url":"https://github.com/balderdashy/sails/issues/1829","id":35396583,"number":1829,"title":"Feature Request: Public actionUtil like service","user":{"login":"mikeg2","id":6686930,"avatar_url":"https://avatars.githubusercontent.com/u/6686930?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeg2","html_url":"https://github.com/mikeg2","followers_url":"https://api.github.com/users/mikeg2/followers","following_url":"https://api.github.com/users/mikeg2/following{/other_user}","gists_url":"https://api.github.com/users/mikeg2/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeg2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeg2/subscriptions","organizations_url":"https://api.github.com/users/mikeg2/orgs","repos_url":"https://api.github.com/users/mikeg2/repos","events_url":"https://api.github.com/users/mikeg2/events{/privacy}","received_events_url":"https://api.github.com/users/mikeg2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/balderdashy/sails/labels/Enhancement","name":"Enhancement","color":"aaaaaa"},{"url":"https://api.github.com/repos/balderdashy/sails/labels/Need%20team%20feedback","name":"Need team feedback","color":"aaaaaa"},{"url":"https://api.github.com/repos/balderdashy/sails/labels/Sails%20dependencies","name":"Sails dependencies","color":"aaaaaa"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/balderdashy/sails/milestones/2","html_url":"https://github.com/balderdashy/sails/milestones/Feature%20Requests%20/%20Ideas","labels_url":"https://api.github.com/repos/balderdashy/sails/milestones/2/labels","id":345428,"number":2,"title":"Feature Requests / Ideas","description":"Ideas for features / improvements","creator":{"login":"mikermcneil","id":618009,"avatar_url":"https://avatars.githubusercontent.com/u/618009?v=3","gravatar_id":"","url":"https://api.github.com/users/mikermcneil","html_url":"https://github.com/mikermcneil","followers_url":"https://api.github.com/users/mikermcneil/followers","following_url":"https://api.github.com/users/mikermcneil/following{/other_user}","gists_url":"https://api.github.com/users/mikermcneil/gists{/gist_id}","starred_url":"https://api.github.com/users/mikermcneil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikermcneil/subscriptions","organizations_url":"https://api.github.com/users/mikermcneil/orgs","repos_url":"https://api.github.com/users/mikermcneil/repos","events_url":"https://api.github.com/users/mikermcneil/events{/privacy}","received_events_url":"https://api.github.com/users/mikermcneil/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":188,"state":"open","created_at":"2013-05-31T07:24:00Z","updated_at":"2014-09-23T15:45:45Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2014-06-10T15:54:22Z","updated_at":"2015-02-25T20:46:09Z","closed_at":"2014-08-01T13:35:36Z","body":"It's very easy to create a basic REST API in sailsjs without blueprint, just by putting `res.json(...)` in after a `find()` call. \r\n\r\nIt's not as simple to add in featured like deep-subscribe or even to securely add in features like `/resource?populate=` or to blacklist values. That's not to say it's incredibly hard, but I've ended up just copying the `actionUtil` class (what Blueprint uses to do this stuff) into a service and tweaking it so it works for non-blueprint APIs.\r\n\r\nIt makes sense for there to be a built in service that assists with creating full featured APIs even if you don't use blueprint."},"comment":{"url":"https://api.github.com/repos/balderdashy/sails/issues/comments/76052679","html_url":"https://github.com/balderdashy/sails/issues/1829#issuecomment-76052679","issue_url":"https://api.github.com/repos/balderdashy/sails/issues/1829","id":76052679,"user":{"login":"kevinob11","id":4147929,"avatar_url":"https://avatars.githubusercontent.com/u/4147929?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinob11","html_url":"https://github.com/kevinob11","followers_url":"https://api.github.com/users/kevinob11/followers","following_url":"https://api.github.com/users/kevinob11/following{/other_user}","gists_url":"https://api.github.com/users/kevinob11/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinob11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinob11/subscriptions","organizations_url":"https://api.github.com/users/kevinob11/orgs","repos_url":"https://api.github.com/users/kevinob11/repos","events_url":"https://api.github.com/users/kevinob11/events{/privacy}","received_events_url":"https://api.github.com/users/kevinob11/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T20:46:09Z","updated_at":"2015-02-25T20:46:09Z","body":"+1"}}