How to use Rest APi to get Teamcity information
Posted on 2014-03-14
I am relatively new to Teamcity. I have created a project and configurations, run builds, etc. For a release, I need to create a report to send out, (for one project), I want to list all the configurations, the last build #, and the url for each configuration, to a report. What is the best way of doing this (they use Ant and Python here). Can someone give me (or point me to), an example of this (using the Rest API?). How to get the info, and then how to export this to a report\txt file. Basically, I am looking for the script example to do this. Please do not just point me to the teamcity rest documentation, I don't understand how to apply it in a script file. Do I need addition tools like curl, etc.?