Query backend plugin to populate dropdown menu in QueryEditor.tsx

You can extend the Grafana REST API with data source-specific endpoints, using resource handlers. Your query editor can then make any request, whenever it likes. You can read more on how to add a resource handler in How to add a resource handler for your data source.