ivan_r
1
Is there a way to do a more detailed search of product builds than what this endpoint offers: https://circleci.com/docs/api/#recent-builds-for-a-single-project ?
In particular, I would like to be able to retrieve builds only for a specific branch and, ideally, further filtered by the commit that triggered it.
gordon
2
Yep, you can narrow the builds to a single branch by appending /tree/:branch
to the url. Note that the branch name should be url-encoded.
-Gordon
ivan_r
3
Right, missed the note in the documentation completely as I was focusing on the argument list…
I’m guessing that’s as far as narrowing the search down goes, right? No other build parameters can be used for filtering?
gordon
4
Yes, that’s as much as that API provides
-Gordon