You probably need to use the write api plugin: https://github.com/NodeBB/nodebb-plugin-write-api/tree/master/routes/v1
Exactly what I needed but I couldn't locate that particular segment. Thank you so much.
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:
I thought that this didn't include writing to the db as well as reading - would be very happy to be wrong on this one!
@babaggeii No, we don't have a write-enabled API yet, but I am working on it.
I'm blocked by gh#2082, but that's very much my fault
@julian excellent news. Best of luck.
@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.
Ideally, I'd like to introduce feature parity between the write API and NodeBB itself. I suppose for demonstration purposes, the initial release will only support topic and post creation, but it should be easy to extend this to cover everything else.
@julian Sounds good - how high up the list of priorities is this?
@julian Was the write-enabled REST API ever implemented?
"There's a plugin for that"
@julian Any update on this feature?
@esfandiar Yes, take a look at the write API plugin.