The discussion revolves around adding a UI for the Merge Users plugin. mpemburn wants to call the plugin programmatically, but hasn’t found an API endpoint to do so. Falco mentioned that the feature will be available in core soon, with an API endpoint. Dannii suggested a POST request to /admin/plugins/merge-users/merge, but mpemburn encountered a “URL or resource not found” error. Falco later revealed that the feature is already live in the User Admin page as of Discourse 2.5.0.beta3.
We would like to be able to call the Merge Users plugin (discourse-merge-users/plugin.rb at master · curiousdannii/discourse-merge-users · GitHub) programmatically in some manner. I’ve used the API quite a bit for the documented features, but I haven’t seen much that relates to the plugin (except a GET to /admin/plugins that doesn’t appear to work). If this can’t be done via the API, is there any other mechanism that you would suggest?