summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-04-05 21:49:06 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-04-05 21:49:06 +0000
commit50a0fd03adde14a6672664eb3bd1d2c2e64c9cc3 (patch)
tree14a559c86efd846c91657499ef1a324edc189775 /lib
parent78a844217e16599c23e32ee446eb5b8f72d4340d (diff)
parent7cb907cc77f5b7fdc4a5b2acc094e1fa3b3b9f92 (diff)
downloadgitlab-ce-50a0fd03adde14a6672664eb3bd1d2c2e64c9cc3.tar.gz
Merge branch '30195-document-search-param-on-api' into 'master'
Add "search" optional param and docs for V4 Closes #30195 See merge request !10358
Diffstat (limited to 'lib')
-rw-r--r--lib/api/issues.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/issues.rb b/lib/api/issues.rb
index 4dce5dd130a..09053e615cb 100644
--- a/lib/api/issues.rb
+++ b/lib/api/issues.rb
@@ -26,6 +26,7 @@ module API
desc: 'Return issues sorted in `asc` or `desc` order.'
optional :milestone, type: String, desc: 'Return issues for a specific milestone'
optional :iids, type: Array[Integer], desc: 'The IID array of issues'
+ optional :search, type: String, desc: 'Search issues for text present in the title or description'
use :pagination
end