Are you trying to do something like the following? - How to Generate and Export a list of all Data Sources and Related Objects
If so - please see - Collect Data with the Tableau Server Repository - Tableau
This is a sub task of a project that I am working on wherein I need to segregate the datasources present on tableau server into the ones connecting to *.tde and other group containing those connecting to *.hyper files.
We are supposed to use the Tableau Rest API in a Java code to perform this task. The shared link is not helping for this task.