summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-03-01 11:47:42 +0000
committerRémy Coutable <remy@rymai.me>2018-03-01 11:47:42 +0000
commit4bc0900089e79430c61be0758062b0fddd078139 (patch)
tree4ca88f89ecf92d3e5603a41400e0e5f99fc2e4e4 /doc
parent7adab068abd58301b5b93c80803cf1e2af5a6a58 (diff)
parent2f7dffe5489f73eb8ba119184a2e73b3caa6097b (diff)
downloadgitlab-ce-4bc0900089e79430c61be0758062b0fddd078139.tar.gz
Merge branch 'merge-requests-api-filter-by-branch' into 'master'
Add source and target branch filters to merge requests API Closes #42492 See merge request gitlab-org/gitlab-ce!17355
Diffstat (limited to 'doc')
-rw-r--r--doc/api/merge_requests.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md
index 2957a0a5f48..6ce021cb4bf 100644
--- a/doc/api/merge_requests.md
+++ b/doc/api/merge_requests.md
@@ -47,6 +47,8 @@ Parameters:
| `author_id` | integer | no | Returns merge requests created by the given user `id`. Combine with `scope=all` or `scope=assigned-to-me` |
| `assignee_id` | integer | no | Returns merge requests assigned to the given user `id` |
| `my_reaction_emoji` | string | no | Return merge requests reacted by the authenticated user by the given `emoji` _([Introduced][ce-14016] in GitLab 10.0)_ |
+| `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` |
```json
@@ -162,6 +164,8 @@ Parameters:
| `author_id` | integer | no | Returns merge requests created by the given user `id` _([Introduced][ce-13060] in GitLab 9.5)_ |
| `assignee_id` | integer | no | Returns merge requests assigned to the given user `id` _([Introduced][ce-13060] in GitLab 9.5)_ |
| `my_reaction_emoji` | string | no | Return merge requests reacted by the authenticated user by the given `emoji` _([Introduced][ce-14016] in GitLab 10.0)_ |
+| `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` |
```json