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

4 comments
Comment actions Permalink

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?

0
Comment actions Permalink

Thanks Yegor that worked.

Do you happen to know if there is a way to get list of builds in the queue also?

0
Comment actions Permalink

No :( except those already stated in the thread.

0
Comment actions Permalink

The syntax I mentioned is the link I provided in my first posting.

0

Please sign in to leave a comment.