Plugin that will call predefined web api uri from post

We are using discourse as tool for doing business.
As discourse getting more into our business processes that is coming need for interacting with topics and others system that we have.
I have idea to make plugin which will allow user to to call predefined URI from topic to 3th partity api with params of post.

At Admin site I’ll have need to predefine action which could be call.

So we can on post have menu something like this

At call all I need is to get topic id and post id so my server cloud read data . (if we could have posted data it will be nice .)

After call web-api we should return message to user which will provide web api as response.

Extending discourse to business needs obviously leads to story said a million times.

We do plan on have an “expanding” more actions thing, especially for these kind of use cases. Not sure if we will get to it for v1 though.

1 Like

It will be, we need it to merge edit and delete into the same action bucket anyway. Plus it has big implications for plugins which can register post actions there. I’ll add the spec now.

2 Likes