Repositories
Get repository branches
Changed onget/repositories/{owner}/{repo}/branches
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
ownerstring required
Repository owner
repostring required
Repository name
Query parameters
connection_idinteger required
Git provider connection ID (required when multiple connections have the same repo)
freshboolean
Force fetch fresh data, bypassing cache (default: false)
Response
List of branches
Changes
- info
added the required property
branches/items/is_defaultto the response with the status
- info
- breaking
removed the required property
branches/items/is_defaultfrom the response with the status
- breaking