summaryrefslogtreecommitdiff
path: root/doc/api/branches.md
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-19 18:08:48 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-19 18:08:48 +0000
commitdc539af30068062bd6fc2f9c6b478d4a1feb8c23 (patch)
tree37dd61148284c624396ba01a94af3663f308561d /doc/api/branches.md
parent30cd626f8c1028ba096e84349580e0772a34b1af (diff)
downloadgitlab-ce-dc539af30068062bd6fc2f9c6b478d4a1feb8c23.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/branches.md')
-rw-r--r--doc/api/branches.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/branches.md b/doc/api/branches.md
index 09da1896b83..f99c4443ac8 100644
--- a/doc/api/branches.md
+++ b/doc/api/branches.md
@@ -28,6 +28,7 @@ Parameters:
|:----------|:---------------|:---------|:------------|
| `id` | integer/string | yes | ID or [URL-encoded path of the project](rest/index.md#namespaced-path-encoding) owned by the authenticated user.|
| `search` | string | no | Return list of branches containing the search string. You can use `^term` and `term$` to find branches that begin and end with `term` respectively. |
+| `regex` | string | no | Return list of branches with names matching a [re2](https://github.com/google/re2/wiki/Syntax) regular expression. |
Example request: