How can i create a topic with content via the Discourse API?


(Sebastian) #1

So what i basically want to do is to run a Ruby File which creates a Topic with content to my Discourse server.

First of all just to learn how to use the Discourse API. I want to develop a plugin that writes content to a certain topic every few minutes. But i dont really know how to start.


(Blake Erickson) #2

There are some examples of using the ruby discourse_api gem inside of the repo. I would start with this one.


(Jay Pfaffman) #3

Using the api and developing a plugin are very different. Is your goal is to develop a plugin you might start with the plugin tutorial.