I did not find those things in the documentation, but can I:
- Select a topic-tag using Discourse API when asking API to create a new topic?
- Reply to the created topic using Discourse API?
Thank you.
I did not find those things in the documentation, but can I:
Thank you.
Set tags
as an array of strings when you HTTP POST. Like:
{
title: "Topic title",
raw: "Raw content",
category: 1,
tags: ["tag1", "tag2"]
}
The same /posts.json
endpoint for creating a topic can be used for replying by setting the topic_id
. See more on Discourse API Docs.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.