GitLab Branches API

The GitLab Branches API enables programmatic management of Git branches within GitLab projects. It supports listing, creating, and deleting branches, as well as retrieving branch details including the latest commit and protection status.

API entry from apis.yml

apis.yml Raw ↑
aid: gitlab:apiv4branches
name: GitLab Branches API
tags:
- Branches
- Git
- Source Control
image: https://kinlane-productions2.s3.amazonaws.com/apis-json/apis-json-logo.jpg
baseURL: https://gitlab.com/api/v4
humanURL: https://docs.gitlab.com/api/branches/
overlays: []
properties:
- url: https://docs.gitlab.com/api/branches/
  type: Documentation
- url: https://docs.gitlab.com/api/rest/authentication/
  type: Authentication
description: The GitLab Branches API enables programmatic management of Git branches within GitLab projects.
  It supports listing, creating, and deleting branches, as well as retrieving branch details including
  the latest commit and protection status.