diff options
author | Rémy Coutable <remy@rymai.me> | 2018-03-01 14:47:42 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-03-01 14:47:42 +0300 |
commit | 4bc0900089e79430c61be0758062b0fddd078139 (patch) | |
tree | 4ca88f89ecf92d3e5603a41400e0e5f99fc2e4e4 /doc/api | |
parent | 7adab068abd58301b5b93c80803cf1e2af5a6a58 (diff) | |
parent | 2f7dffe5489f73eb8ba119184a2e73b3caa6097b (diff) |
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/api')
-rw-r--r-- | doc/api/merge_requests.md | 4 |
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 |