diff options
author | bunufi <dainius.stn@gmail.com> | 2018-03-05 12:57:47 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-03-05 12:57:47 +0000 |
commit | 47d4890d3ad8a1c2ecb2b9c497d537c044c76e25 (patch) | |
tree | df257cd59e7af3df53d219b6e8e4e704f5e46f1d /doc/api/branches.md | |
parent | bd57be280d6dede47844a23a487a24bbbc49201c (diff) | |
download | gitlab-ce-47d4890d3ad8a1c2ecb2b9c497d537c044c76e25.tar.gz |
Update API: add search param to branches
Diffstat (limited to 'doc/api/branches.md')
-rw-r--r-- | doc/api/branches.md | 1 |
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 |