Reputation: 3165
I'm using the TFS Powershell cmdlets to get the history of source control folder: Get-TfsItemHistory -HistoryItem ...
Now I have to get the same behavior on a computer without these cmdlets (I can't install Visual Studio on it) so I was trying to use the REST API but I can't find the corresponding API.
Do you have any idea?
Upvotes: 0
Views: 798
Reputation: 51093
You can try to use the REST API of changesets under version control. There is a option By item path which get the changesets that contain changes to the specified item.
Sample request
GET https://fabrikam.visualstudio.com/DefaultCollection/_apis/tfvc/changesets?searchCriteria.itemPath=$/Fabrikam-Fiber-TFVC/AuthSample/AuthSample/Program.cs&api-version=1.0
More detailed info please refer the link from MSDN: Changesets
Upvotes: 2