I'm working on a plugin for kibana 7.9.1, at some point I'd like to refresh the fields of an index pattern. hence calling getFieldsForWildcard() of IndexPatternsApiClient would be nice. I've basically the same question than this posts :
- https://discuss.elastic.co/t/how-to-check-that-index-pattern-is-not-synced-with-mapping-using-kibana-plugin/183723/2 but I don't have the server object (routes are defined with router: IRouter)
Any news since kibana 6?
I managed something that works based on https://discuss.elastic.co/t/update-index-patterns-automatically-programatically/129547/2 and fetch library I'm trying to make it right ^^ meanwhile I'd be happy share it if someone needs it.