branches

HEAD /api/v4/projects/{id}/repository/branches/{branch}

Check if a branch exists

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project

branchstring required

The name of the branch

Response

No Content

Changes

No recorded changes to this operation across all 5 revisions of this API.