I have the write api plugin installed as well as the question and answer plugin. We are successfully creating topics and posts. Is it possible to create a topic as a question? I tried adding isQuestion (equals 1) to the POST body when creating the topic but it was ignored. Would the write-api have to be forked and updated to support the optional value of isQuestion? It seems clear in the question and answer plugin that it doesn't create/expose any write api of its own.
Save/Load plugin's settings to/from a config file instead of mongoDB
-
Is there some way to save and load the settings of a plugin (or the whole nodeBB) to/from a config file instead of mongoDB ?
-
No built in way, but there is nothing preventing you from writing your plugin to use a config file instead of settings stored in the database.
When your nodebb starts instead of loading your plugin settings from the database you would read it from the file.