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