Get topics a user is active in

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:

8 个赞

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?

你好,我想获取由某用户创建的最新主题。如果有任何参数传入,请告诉我该如何处理。:slightly_smiling_face: