summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-04-27 22:09:18 +0900
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-03 02:11:51 +0900
commit255bfd658340e36a882108d4a9911d7f9cde638d (patch)
treed5fa454ff65e1dddb82d0e596adeff1354e2bb5b /lib/api
parent0aebc829ad15558d5b6c1bb2212956fb193a1def (diff)
downloadgitlab-ce-255bfd658340e36a882108d4a9911d7f9cde638d.tar.gz
Improve documentation
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/pipelines.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/api/pipelines.rb b/lib/api/pipelines.rb
index 6a054544d70..9117704aa46 100644
--- a/lib/api/pipelines.rb
+++ b/lib/api/pipelines.rb
@@ -19,13 +19,13 @@ module API
optional :status, type: String, values: HasStatus::AVAILABLE_STATUSES,
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 :name, type: String, desc: 'The name of user who triggered pipelines'
- optional :username, type: String, desc: 'The username of user who triggered pipelines'
+ optional :yaml_errors, type: Boolean, desc: 'Returns pipelines with invalid configurations'
+ optional :name, type: String, desc: 'The name of the user who triggered pipelines'
+ optional :username, type: String, desc: 'The username of the user who triggered pipelines'
optional :order_by, type: String, values: PipelinesFinder::ALLOWED_INDEXED_COLUMNS, default: 'id',
- desc: 'The order_by which is combined with a sort'
+ desc: 'Order pipelines'
optional :sort, type: String, values: %w[asc desc], default: 'desc',
- desc: 'The sort method which is combined with an order_by'
+ desc: 'Sort pipelines'
end
get ':id/pipelines' do
authorize! :read_pipeline, user_project