Get statistics for a set of builds, because TeamCity 8.1 uses the query, as in the TeamCity REST Document :
http://teamcity:8111/app/rest/builds?locator=BUILDS_LOCATOR&fields=build(id,number,status,buildType(id,name,projectName),statistics(property(name,value)))
This basically returns the assembly nodes corresponding to BUILDS_LOCATOR and "expanding" the statistics in each. for example, use "buildType: (id: BUILD_CONFIG_ID)" as "BUILDS_LOCATOR" to get assemblies from the assembly configuration with the UI-configured identifier "BUILD_CONFIG_ID".
source share