summaryrefslogtreecommitdiff
path: root/doc/api/branches.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/branches.md')
-rw-r--r--doc/api/branches.md11
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/api/branches.md b/doc/api/branches.md
index fbb5368cabc..74383841272 100644
--- a/doc/api/branches.md
+++ b/doc/api/branches.md
@@ -1,7 +1,7 @@
---
stage: Create
group: Source Code
-info: "To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers"
+info: "To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments"
type: reference, api
---
@@ -9,14 +9,13 @@ type: reference, api
This API operates on [repository branches](../user/project/repository/branches/index.md).
-TIP: **Tip:**
See also [Protected branches API](protected_branches.md).
## List repository branches
Get a list of repository branches from a project, sorted by name alphabetically.
-NOTE: **Note:**
+NOTE:
This endpoint can be accessed without authentication if the repository is publicly accessible.
```plaintext
@@ -73,7 +72,7 @@ Example response:
Get a single project repository branch.
-NOTE: **Note:**
+NOTE:
This endpoint can be accessed without authentication if the repository is publicly accessible.
```plaintext
@@ -189,7 +188,7 @@ Example response:
Delete a branch from the repository.
-NOTE: **Note:**
+NOTE:
In the case of an error, an explanation message is provided.
```plaintext
@@ -213,7 +212,7 @@ curl --request DELETE --header "PRIVATE-TOKEN: <your_access_token>" "https://git
Will delete all branches that are merged into the project's default branch.
-NOTE: **Note:**
+NOTE:
[Protected branches](../user/project/protected_branches.md) will not be deleted as part of this operation.
```plaintext