I just wanted to let you know that you can easily get the latest commit made to a specific branch or the main branch by providing the branch URL or Stream URL, respectively. This functionality is already available.
branchURL = returns latest commit made to that branch streamURL = returns latest commit made to the main branch
The Power BI connector is currently unable to load a list of commits. If you check the Commit Object IDs of the received data, you’ll notice that they are all the same. This happens because our Power BI connector handles URLs differently, and as a result, only a single commit is loaded. To learn more about this behaviour, please refer to the documentation for the Power BI connector.
You will get the data you need. Copying from the browser version of the URL will be safest if you use any characters in branch names that would be urlencoded.