@sebastián-cisneros In static:api.routes, you'll want to call controllerHelpers.setupAPIRoute to mount the route to the appropriate /api/v3/plugins mount point.
You can see an example of how we do it in the quickstart plugin
Just wondering what the vision is for this. It would be great to be able to use a REST api for unlimited integration with other services. We want to use NodeBB for our business but we require integration with our CMS - things like user management and statistics. The most flexible way I can see is a full CRUD api.
NodeBB is built on a REST API, you can add /api/ after the relative url. So this topic would be:
https://community.nodebb.org/api/topic/2412/is-there-a-full-crud-api-in-the-vision
@julian What is the planned extent of the write-API? I'm just thinking about how to go about integrating our website and booking system into nodeBB (we're using it to deliver discussion-based courses).
Ideally we'd have a full complement of elements (users, categories, sub-categories, permissions, roles, etc.) so that we can manage it all automatically from our system, but I'm not sure what's in the roadmap for this.
"There's a plugin for that"