How to list changes through API from TeamCity assembly?

I am trying to find a way to get all comments from a specific assembly in TeamCity through the Rest API. How can I do that?

+4
source share
1 answer
http://teamcity:port/httpAuth/app/rest/changes?locator=build:(id:77651)&fields=count,change:(version,username,date,href,comment,files)

Using this URL, you can specify in the usual manner exactly those fields that they would like to return. I do not think this is documented, I got it from their support. Enjoy it!

PS - There are other examples that sort through each change, it lists all the changes for a specific assembly identifier in one place, for parsing.

+7
source

All Articles