I have been developing a simulation tool that uses a Javscript frontend to present data that is computed by a backend server, which itself sends that data to InfluxDB 2.0. I would now like to implement functionality so that I can click a button that will send me to the flux bucket with a pre-prepared query, and ideally then automatically starts to download that data as a CSV.
I currently have set up the button so that it takes me directly to the bucket (after passing the login screen). Is it possible to create a link which includes a query to automatically get data from the bucket?
I should also specify that the buckets used for holding the data are created at runtime (meaning no setup of variables via the UI beforehand), and that in general, I would like the user to do as little preparation before downloading the data as possible.