Repositories

Get repository branches

Changed on
get/repositories/{owner}/{repo}/branches

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP 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