Is there an API endpoint to get all the topics a user has posted in, or perhaps all topics a user has started? We’ve got WordPress and Discourse working together but my client wants to display a list of the user’s topics on the user’s WordPress profile page (which I’ve custom-built from the ground up in WordPress).
Try
GET /topics/created-by/<username>.json
For example https://meta.discourse.org/topics/created-by/Frank_Bailey.json.
There is a useful guide on how to “reverse engineer” the Discourse APIs:
Nice one. Thanks so much! Am I right in thinking, though, that’s there isn’t a similar one for topics in which the user has only replied but didn’t create?
안녕하세요, 사용자가 만든 최신 토픽을 가져오고 싶어요. 인자로 무언가가 전달되면, 제가 어떻게 해야 할지 조언해 주세요. ![]()