4 Replies Last post: Mar 1, 2011 10:57 PM by Jason Perry  
Jason Perry Novice 269 posts since
May 29, 2009
Currently Being Moderated

Feb 28, 2011 10:18 PM

Rest API Plugin - running (build dimension)?

Hi,

 

I am using the rest api to get a list of running builds and it doesn't seem to be working, here is my request:

 

http://teamcityserver:8111/guestAuth/app/rest/builds?running=true

 

This is listed in the top of the results:

 

<builds nextHref="/guestAuth/app/rest/builds?count=100&start=100&running=true" count="100">

 

When running this I should only see two builds running as that is what is showing in the UI.  Please help?

 

Thanks,

Jay

Yegor Yarko JetBrains 1,832 posts since
May 5, 2004
Currently Being Moderated
Mar 1, 2011 7:39 PM in response to: Jason Perry
Re: Rest API Plugin - running (build dimension)?

Jason,

 

Do you use TeamCity 6.0.x?

If yes, try: http://teamcityserver:8111/guestAuth/app/rest/builds?locator=running:true

More info in the original tracker issue.

 

Is there any place in our doc that is assuming the syntax that you tried to use initially?

Yegor Yarko JetBrains 1,832 posts since
May 5, 2004
Currently Being Moderated
Mar 1, 2011 10:48 PM in response to: Jason Perry
Re: Rest API Plugin - running (build dimension)?

No except those already stated in the thread.

More Like This

  • Retrieving data ...