I don't think so, unfortunately -- you'll have to make the initial call to get the topic, and then subsequent calls to grab the raw markdown. I don't think we'll be adding a way to retrieve the raw markdown at the topic level because we wouldn't have any use for it.
Hi I'm trying to build a mechanism that post code-generated post on nodebb.
Since I didn't find any schedule related plugin, I'm up to write my own script using node-schedule.
Now I'm wondering if there's any easy-to-use api for nodebb that I can use in my node script to post new topics?
In your module library, you can just hook into the Topics library like so:
var Topics = module.parent.require('./topics'); Topics.post(...
Moritz Friedrich last edited by
Did you manage to build a plugin? I'd be interested in this. Thanks!