diff options
author | Rémy Coutable <remy@rymai.me> | 2018-03-05 12:57:48 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-03-05 12:57:48 +0000 |
commit | f56de375f756ffc4ba4aa76f0cada1a64c45d759 (patch) | |
tree | 986af290e04dc15c2458429a0c14488712f6229f /doc/api | |
parent | 1e75198efd3d5c11d03e8a013ab350b32f141205 (diff) | |
parent | 47d4890d3ad8a1c2ecb2b9c497d537c044c76e25 (diff) | |
download | gitlab-ce-f56de375f756ffc4ba4aa76f0cada1a64c45d759.tar.gz |
Merge branch '42712_api_branches_add_search_param_20180207' into 'master'
Update API: add search param to branches
Closes #42712
See merge request gitlab-org/gitlab-ce!17005
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 |