Adding UI for Merge Users

Hi,

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?

Thanks in advance,

Mark Pemburn
Blue Ocean Ideas

We are planning on making this available in core soon, so it will have an API endpoint.

2 Likes

The plugin is really simple, so a POST request to /admin/plugins/merge-users/merge should work.

1 Like

It should be. See How to reverse engineer the Discourse API

Thanks. Tried this and got “The requested URL or resource could not be found.”

Thanks Rafael! Any idea of how soon?

Looks like it is already live in the User Admin page. Check Discourse 2.5.0.beta3 Release Notes

1 Like