TeamCity: how to get a list of the latest builds for each build configuration that currently doesn't work?

I am using TeamCity 7.1. I want to get a list that includes the latest assembly of each assembly configuration (assembly type) that is not currently running. I found this question: TeamCity - how do you get a list of the last finished build of each project via rest api? but the REST URI in the answer is not working me.

<teamcity-server>/httpAuth/app/rest/builds?locator=sinceBuild:(status:failure) 

seems to work and gives me all the builds that succeeded after failing earlier.

But the opposite

<teamcity-server>/httpAuth/app/rest/builds?locator=sinceBuild:(status:success)

does not return any buildings.

I know that I can get all assembly types, iterate them and get the most recent completed assembly using

<teamcity-server>/httpAuth/app/rest/buildTypes/id:<build-type-id>/builds/running:false?count=1&start=0 

( "count = 1 & start = 0" ) , , , - . REST . REST.

?

+5
1

TeamCity REST API JetBrains, :

<teamcity-server>/httpAuth/app/rest/buildTypes/id:<build-type-id>/builds/running:false,status:success

<teamcity-server>/httpAuth/app/rest/builds/running:false,status:success

, buildType <buildTypeLocator> API REST, - buildType <buildTypeLocator> can be id:<btXXX_internal_buildConfiguration_id> or name:<Build_Configuration_name> ( ). .

, , :

<teamcity-server>/httpAuth/app/rest/buildTypes/builds/running:false,status:success

, TeamCity Support .

+3

All Articles