I'm trying to build a very simple Rest API, I'd like to use sails (v0.11.0) blueprints.
Initially;
- I only want to use Http GET disable other methods
- Just return plain json, no views for findOne, findAll.
- Use a prefix like '/api/v1' but don't want to include all controllers, Example: Make controllerA url like '/api/v1/controllerA' but not '/api/v1/controllerB'
I have been playing with the blueprints but I couldn't be able to do all above. Sorry for too many questions all at once! but I really appreciate if somebody can help.
Thanks