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.
How to develop a plugin to mount router
I want to add a custom route for a feature in my project，I think I need to develop a plugin for route .
But I don't know how to develop a route plugin .
Can someone give me an example ,Thanks
I have solved it. use "static:app.load" hook , and use the method's first arguments ,we can setting routes to do what we want to do