Skip to main content

List GitLab project branches

GET 

/api/v1/integrations/gitlab/projects/:project_id/branches

List branches on a GitLab project along with its default branch.

Uses the caller's GitLab connector OAuth token. The project must be accessible to that account.

  • Scope required: integrations:read.
  • 404 if the caller has no active GitLab connector.

Request

Responses

Successful Response