I'm trying to make a REST API call to list all builds of the last element of a build chain, but have it "Show canceled and failed to start builds", just like it does in the UI (e.g. at /viewType.html?buildTypeId=myBuildType&tab=buildTypeHistoryList). However I can't figure out how. If I do
I only get successful builds (or ones that failed in the last build chain element, which it never does)
Is there a way to get the equivalent bevaior of the UI via the REST API in this regard?