summaryrefslogtreecommitdiff
path: root/doc/api/branches.md
diff options
context:
space:
mode:
authorbunufi <dainius.stn@gmail.com>2018-03-05 12:57:47 +0000
committerRémy Coutable <remy@rymai.me>2018-03-05 12:57:47 +0000
commit47d4890d3ad8a1c2ecb2b9c497d537c044c76e25 (patch)
treedf257cd59e7af3df53d219b6e8e4e704f5e46f1d /doc/api/branches.md
parentbd57be280d6dede47844a23a487a24bbbc49201c (diff)
downloadgitlab-ce-47d4890d3ad8a1c2ecb2b9c497d537c044c76e25.tar.gz
Update API: add search param to branches
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 80744258acb..01bb30c3859 100644
--- a/doc/api/branches.md
+++ b/doc/api/branches.md
@@ -13,6 +13,7 @@ GET /projects/:id/repository/branches
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user |
+| `search` | string | no | Return list of branches matching the search criteria. |
```bash
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/projects/5/repository/branches