Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-16 03:06:14 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-16 03:06:14 +0300
commit07d7b8f58c63ddc55b005daeb0910d31970b3d88 (patch)
tree13d2a56938eed8e6d083b648e394d78d67bedf23 /lib/api
parentae50a43c43229442e5ccef4034d62df8a3c36cbc (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/deployments.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/deployments.rb b/lib/api/deployments.rb
index da882547071..f97200f20b9 100644
--- a/lib/api/deployments.rb
+++ b/lib/api/deployments.rb
@@ -17,7 +17,7 @@ module API
end
params do
use :pagination
- optional :order_by, type: String, values: %w[id iid created_at ref], default: 'id', desc: 'Return deployments ordered by `id` or `iid` or `created_at` or `ref`'
+ optional :order_by, type: String, values: %w[id iid created_at updated_at ref], default: 'id', desc: 'Return deployments ordered by `id` or `iid` or `created_at` or `updated_at` or `ref`'
optional :sort, type: String, values: %w[asc desc], default: 'asc', desc: 'Sort by asc (ascending) or desc (descending)'
end
# rubocop: disable CodeReuse/ActiveRecord