API doesn't search by property

Answered

I have a build with this property:

I use this query: /httpAuth/app/rest/builds/?locator=property:(name:qhash,value:6dab44a81996d1b041830d2b8ecd8677)

And I get <builds count="0" .../>

TeamCity 10.0.1 (build 42078)

 

3 comments

Hi Robert,

This request should work. Does the build run on default branch? By default only builds from the default branch are returned

1

Oh thank you!

Jet Brains is awesome. :D

0

Just added branch:(unspecified:any)

0

Please sign in to leave a comment.