I am using TFS Git API to programmatically read data from my Git repository.
I have the requirement that I need to be able to get a folder from the git repository and list all of the files in it and their last modified timestamp.
I am using the items api and I am able to get the items in a folder with this request:
https://docs.microsoft.com/en-us/rest/api/azure/devops/git/items/list?view=azure-devops-rest-5.1
For example:
GET https://dev.azure.com/fabrikam/_apis/git/repositories/278d5cd2-584d-4b63-824a-2ba458937249/items?scopePath=/MyWebSite/MyWebSite/Views&recursionLevel=Full&includeContentMetadata=true&api-version=5.1
This is able to get the item URLs, but has no way to include timestamps.
So I do not think this api will work.
Is there some other api that I need to call in order to get this information?