summaryrefslogtreecommitdiff
path: root/app/finders
diff options
context:
space:
mode:
authorToon Claes <toon@iotcl.com>2017-07-24 22:07:37 +0200
committerToon Claes <toon@iotcl.com>2017-07-27 23:34:57 +0200
commitd7505de8b3ff5ba9fd939b2e31c75c1a4cdde80f (patch)
tree259d05114243aa2662b01dd8f4520902b3f93182 /app/finders
parent27df74ad41616b2f83b7daa71579c448641ee6db (diff)
downloadgitlab-ce-d7505de8b3ff5ba9fd939b2e31c75c1a4cdde80f.tar.gz
Add top-level /merge_requests API endpoint
And add support for additional query parameters: - `author_id`: Returns merge requests created by the given user `id` - `assignee_id`: Returns merge requests assigned to the given user `id` - `scope`: Return merge requests for the given scope: `created-by-me`, `assigned-to-me` or `all`
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/merge_requests_finder.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/finders/merge_requests_finder.rb b/app/finders/merge_requests_finder.rb
index 2fc34f186ad..771da3d441d 100644
--- a/app/finders/merge_requests_finder.rb
+++ b/app/finders/merge_requests_finder.rb
@@ -10,6 +10,7 @@
# group_id: integer
# project_id: integer
# milestone_title: string
+# author_id: integer
# assignee_id: integer
# search: string
# label_name: string