I see the ability to return a list of data sources and datasource connections from Tableau Server via the REST API. But is there any way to query/access a list of the fields that are part of the data source?
Explaining from a different perspective....In the context of creating a 'single source of truth' within the organization, I'm trying to come up with a way to create an inventory/view of data sources, data elements, and the definition of that data so that individuals can quickly see what's available/accessible. My thought was to access that data via the REST API and create a simple way for users to interact with the vetted data library.
Appreciate any insights/best practices around this topic.
You cannot use the REST API functionality to do this.
However, Document API will give you this information
In addition, Powertools for Tableau (Desktop) will do the same Power for Tableau: Desktop - Power Tools for Tableau (Data Source Auditing), and do all the hardwork for you
Hope this helps