summaryrefslogtreecommitdiff
path: root/lib/api/branches.rb
diff options
context:
space:
mode:
authorPaul Slaughter <pslaughter@gitlab.com>2018-08-07 15:15:56 +0000
committerPhil Hughes <me@iamphill.com>2018-08-07 15:15:56 +0000
commit0d6e50d54270a973647f828047828b80fdf8d013 (patch)
tree9bf41acf27d039f673f45520187daff9d47cb04f /lib/api/branches.rb
parent0e90f27ff79d1743d8ec5e49e003d4c68a689f78 (diff)
downloadgitlab-ce-0d6e50d54270a973647f828047828b80fdf8d013.tar.gz
Create Web IDE MR and branch picker
Diffstat (limited to 'lib/api/branches.rb')
-rw-r--r--lib/api/branches.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/branches.rb b/lib/api/branches.rb
index 4b223a391ae..3e445e6b1fa 100644
--- a/lib/api/branches.rb
+++ b/lib/api/branches.rb
@@ -19,6 +19,7 @@ module API
params :filter_params do
optional :search, type: String, desc: 'Return list of branches matching the search criteria'
+ optional :sort, type: String, desc: 'Return list of branches sorted by the given field'
end
end