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?
مرحباً، أريد الحصول على أحدث موضوع أنشأه مستخدم. إذا تم تمرير أي شيء كوسيط، يرجى إخباري بما يجب علي فعله. ![]()