I'm building a plugin for use in Kibana. I'm having difficulties calling elasticsearch where I have some custom rest apis running. I'm able to query an index but am unsure how i call an api with a format similar to this:
I'd prefer to use callWithRequest because its a simpler and cleaner implementation. Can I use callWithRequest with this type of function?
Thanks for the assistance.