4
votes

I'm trying to use the Team City rest api to get a list of the currently executing builds. It seems like it is only returning builds on the default branch and I would like to get the builds on all branches. This is the api call I'm using:

/teamcity/guestAuth/app/rest/builds?locator=running:true&branch:(default:any)

1

1 Answers

4
votes

found the issue the url should be:

/teamcity/guestAuth/app/rest/builds?locator=running:true,branch:(default:any)