Know if a project have builds through the REST API

When I'm getting the builds for a project, it recursively.

I would like to only get the direct builds.

The original problem being that I'm browsing through my projects and I want to get the builds for each. It currently seems imposible.

Comment actions Permalink

Hi Henri,

It is not possible in TeamCity now. You can get the list of build configurations in project: http://localhost:8111/httpAuth/app/rest/projects/HelloWorld/buildTypes/ and get builds for each of build configuration.
Please feel free to create feature request in our tracker.

Comment actions Permalink

I've created a feature request.

Your idea can be a workaround.

Is there a way to know on which template the build type is based? Some field?


Comment actions Permalink

You can use the following request to get info about about build congiguration:


If build configuration is based on template there will be <template /> tag.


Please sign in to leave a comment.