/bitbucket/repositories/branches
List branches of a Bitbucket repository by ‘workspace/repo’ or repository URL
Price: 10 credits per 100 results
💡 AI Hint: List the branches of a Bitbucket repository by ‘workspace/repo’ slug or repository URL, optionally filtered by name and sorted by name or last-commit date. Returns each branch name, its default merge strategy, available merge and sync strategies, and the target (head) commit with hash, message, date, and author.
⚠️ Common errors: 412: Repository not found
Authorizations
API token from the dashboard
Headers
Body
Repository in 'workspace/repo' format or a Bitbucket repository URL
1"atlassian/aui"
"https://bitbucket.org/atlassian/aui"
Number of branches to return
x >= 1Max scrapping execution timeout (in seconds)
20 <= x <= 1500Filter branches by name, e.g. 'name~"release"'
"name~\"master\""
Sort branches by this field
name, -name, -target.date, target.date