I notice that /api/repos/{user}/{repo}/builds
returns all builds for that repo, regardless of branch (as long as the branch is a target in .drone.yml
, of course).
However, when I attempt to get the latest build via /api/repos/{user}/{repo}/builds/latest
, I notice that the API returns the latest build from master
no matter what.
I deduced that I can add a branch
query parameter, but shouldn’t /api/repos/{user}/{repo}/builds/latest
return the latest build, regardless of which branch it was on?