summaryrefslogtreecommitdiff
path: root/doc/api/merge_requests.md
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2019-02-05 09:52:40 +0000
committerSean McGivern <sean@gitlab.com>2019-02-05 09:52:40 +0000
commit068b41275f6f142acfddca273ace68d03a6c0730 (patch)
treec3f4c927ede7a09242f16771481a0cb7f627fc91 /doc/api/merge_requests.md
parenta34d6abd3b2ee98b0a68b4571c7de61321b4a3ce (diff)
parent40198f81843b315f2eb1c1a1a65292b6fc61f9d7 (diff)
downloadgitlab-ce-068b41275f6f142acfddca273ace68d03a6c0730.tar.gz
Merge branch 'search-title' into 'master'
Add 'in' filter that modifies scope of 'search' filter to issues and merge requests API See merge request gitlab-org/gitlab-ce!24350
Diffstat (limited to 'doc/api/merge_requests.md')
-rw-r--r--doc/api/merge_requests.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md
index b3548391228..802ff1d1df9 100644
--- a/doc/api/merge_requests.md
+++ b/doc/api/merge_requests.md
@@ -24,6 +24,7 @@ GET /merge_requests?labels=bug,reproduced
GET /merge_requests?author_id=5
GET /merge_requests?my_reaction_emoji=star
GET /merge_requests?scope=assigned_to_me
+GET /merge_requests?search=foo&in=title
```
Parameters:
@@ -47,6 +48,7 @@ Parameters:
| `source_branch` | string | no | Return merge requests with the given source branch |
| `target_branch` | string | no | Return merge requests with the given target branch |
| `search` | string | no | Search merge requests against their `title` and `description` |
+| `in` | string | no | Modify the scope of the `search` attribute. `title`, `description`, or a string joining them with comma. Default is `title,description` |
| `wip` | string | no | Filter merge requests against their `wip` status. `yes` to return *only* WIP merge requests, `no` to return *non* WIP merge requests |
```json