1 Reply Latest reply on Aug 24, 2017 11:39 PM by Zhouyi Zhang

    Get / Download Custom Queries within a Workbook (REST API)

    Matt Fili

      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?