The API docs state that both `branch` and `branchName` are valid, but only `branchName` appears to work.