summaryrefslogtreecommitdiff
path: root/lib/api/issues.rb
diff options
context:
space:
mode:
authorJacopo <beschi.jacopo@gmail.com>2018-02-28 12:16:29 +0100
committerJacopo <beschi.jacopo@gmail.com>2018-03-05 14:10:32 +0100
commit168ff28506dfe66a13a6c1bc5e3b772445a5bd18 (patch)
treeb0a3ba4fa4771669bc5209503c39e8e8ac65b799 /lib/api/issues.rb
parentcbefd38f9c71cc2346b83c4050b03c9cb702864a (diff)
downloadgitlab-ce-168ff28506dfe66a13a6c1bc5e3b772445a5bd18.tar.gz
Adds updated_at filter to issues and merge_requests API
Diffstat (limited to 'lib/api/issues.rb')
-rw-r--r--lib/api/issues.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/issues.rb b/lib/api/issues.rb
index b6c278c89d0..f74b3b26802 100644
--- a/lib/api/issues.rb
+++ b/lib/api/issues.rb
@@ -32,6 +32,8 @@ module API
optional :search, type: String, desc: 'Search issues for text present in the title or description'
optional :created_after, type: DateTime, desc: 'Return issues created after the specified time'
optional :created_before, type: DateTime, desc: 'Return issues created before the specified time'
+ optional :updated_after, type: DateTime, desc: 'Return issues updated after the specified time'
+ optional :updated_before, type: DateTime, desc: 'Return issues updated before the specified time'
optional :author_id, type: Integer, desc: 'Return issues which are authored by the user with the given ID'
optional :assignee_id, type: Integer, desc: 'Return issues which are assigned to the user with the given ID'
optional :scope, type: String, values: %w[created-by-me assigned-to-me all],