Rest api in elasticsearch plugin

i just created an elasticsearch plugin which exports GIS reports every day at 00:00 , now i'd like to add a button in my UI to invoke the report creation on demand
my question, is it possible to expose a rest api in this plugin wichi my UI invoke for report creation ?

See https://github.com/elastic/elasticsearch/tree/master/plugins/examples/rest-handler as an example of how to write an Elasticsearch plugin that registers a REST handler.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.