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
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-08 14:24:00 +0300
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-02 20:11:51 +0300
commit175800299bf497591e625e82fd71420644c0bc6b (patch)
treedd2a089a7124806a6cd71ac2208268a16f75dc71 /lib/api/pipelines.rb
parent83d02a0b609ea71ef8448b9012221962dda69aba (diff)
Add name(User)
Diffstat (limited to 'lib/api/pipelines.rb')
-rw-r--r--lib/api/pipelines.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/pipelines.rb b/lib/api/pipelines.rb
index 986dd607e23..79eea7e2e28 100644
--- a/lib/api/pipelines.rb
+++ b/lib/api/pipelines.rb
@@ -20,7 +20,8 @@ module API
desc: 'The status of pipelines'
optional :ref, type: String, desc: 'The ref of pipelines'
optional :yaml_errors, type: Boolean, desc: 'If true, returns only yaml error pipelines'
- optional :username, type: String, desc: 'The name of user who triggered pipelines'
+ optional :name, type: String, desc: 'The name of user who triggered pipelines'
+ optional :username, type: String, desc: 'The username of user who triggered pipelines'
optional :order_by, type: String, values: %w[id status ref username started_at finished_at created_at updated_at], default: 'id',
desc: 'The order_by which is combined with a sort'
optional :sort, type: String, values: %w[asc desc], default: 'desc',