Repositories

Get repository branches

Fetches available branches for a linked repository. Supports GitHub, GitLab, Bitbucket, Azure DevOps, Gerrit, CVS, and Generic Git. CVS exposes its single materialized branch.

post/api/v1/repositories/branches

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

OR

Response

Successful response

defaultBranchstring required
branchesstring[] required
hasMoreboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.