stef
stef

Reputation: 261

How to retrieve the Agent for a specific Release

The TFS Rest API allows me to get a specific Release for a Team Project

Ex. https://bla.visualstudio.com/MySuperProject/_apis/release/releases/666

I already found, how to get the related Pool of the Release. But is it possible to retrieve the Agent where the Release was deployed using the TFS Rest API ?

Thanks

Upvotes: 0

Views: 76

Answers (1)

ChamindaC
ChamindaC

Reputation: 1492

You can get the release with all the details by calling REST API as shown below. You should use youraccount.vsrm.visualstudio

https://yourVSTSAccount.vsrm.visualstudio.com/yourproject/_apis/release/releases/releaseid

example

https://myac.vsrm.visualstudio.com/Project%20X/_apis/release/releases/106

gives the release agent in deployment steps as shown below

enter image description here

Upvotes: 3

Related Questions