كيفية العثور على نقطة نهاية API لإنشاء مواضيع المنتدى

I am currently developing a custom script to add multiple custom topics to my forum in bulk.

To do this, I need to know the specific API endpoint that handles topics creation, similar to how endpoints like latest.json or hot.json work.

Could you please provide the exact API endpoint for adding or managing topics on the forum? Specifically, I am looking for the endpoint that will allow me to:

Create new topics
Add custom content to topics
Possibly manage metadata related to topics

إعجابَين (2)

Have you tried to Reverse engineer the Discourse API?

4 إعجابات

If you’re talking about more than a hundred or so and it’s a one time thing, and you have access to rails, you should consider an import script instead of the API.

4 إعجابات

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.