واجهة برمجة تطبيقات Discourse، هل من الممكن إنشاء منشور باسم مستخدم مختلف؟

I would like to create an post from my Admin API Key under a different username. The official API documentation under Discourse API Docs has no real field for that. Is it still possible somehow?

إعجاب واحد (1)

If you have an “all users” API key then you can set the username it should act as in the Api-Username: header.

See the section “Authentication” on the API docs home page: https://docs.discourse.org/

4 إعجابات

If your ab Admin vs just a Moderator you can use “Change Ownership” from the wrench on the post.

Iirc there is a plugin as well to post under a different name.

Here it is