Is there a method implemented to download custom queries (e.g., SQL files or SQL files exported as text) from a data-source?
Our business is transitioning from using automated reports generated from custom sql to a star schema. We're in the process of transitioning from one schema to another and none of our sql is versioned in github. We're looking to progromatically fetch the workbook, grab the datasource, grab the custom query, then commit that within the file convention to bitbucket. Would something like this be possible within the current API or does anyone have a hack to do something like this?