Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
af7cb5b9
Commit
af7cb5b9
authored
Mar 07, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
%w() to %[]
parent
7e421e55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lib/api/pipelines.rb
lib/api/pipelines.rb
+5
-5
No files found.
lib/api/pipelines.rb
View file @
af7cb5b9
...
@@ -14,16 +14,16 @@ module API
...
@@ -14,16 +14,16 @@ module API
end
end
params
do
params
do
use
:pagination
use
:pagination
optional
:scope
,
type:
String
,
values:
%
w(running pending finished branches tags)
,
optional
:scope
,
type:
String
,
values:
%
[running pending finished branches tags]
,
desc:
'The scope of pipelines'
desc:
'The scope of pipelines'
optional
:status
,
type:
String
,
values:
%
w(running pending success failed canceled skipped)
,
optional
:status
,
type:
String
,
values:
%
[running pending success failed canceled skipped]
,
desc:
'The status of pipelines'
desc:
'The status of pipelines'
optional
:ref
,
type:
String
,
desc:
'The ref of pipelines'
optional
:ref
,
type:
String
,
desc:
'The ref of pipelines'
optional
:yaml_errors
,
type:
Boolean
,
desc:
'If true,
R
eturns only yaml error pipelines'
optional
:yaml_errors
,
type:
Boolean
,
desc:
'If true,
r
eturns only yaml error pipelines'
optional
:username
,
type:
String
,
desc:
'The name of user who triggered pipelines'
optional
:username
,
type:
String
,
desc:
'The name 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'
,
optional
:order_by
,
type:
String
,
values:
%
[id status ref username started_at finished_at created_at updated_at]
,
default:
'id'
,
desc:
'The order_by which is combined with a sort'
desc:
'The order_by which is combined with a sort'
optional
:sort
,
type:
String
,
values:
%
w(asc desc)
,
default:
'desc'
,
optional
:sort
,
type:
String
,
values:
%
[asc desc]
,
default:
'desc'
,
desc:
'The sort method which is combined with an order_by'
desc:
'The sort method which is combined with an order_by'
end
end
get
':id/pipelines'
do
get
':id/pipelines'
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment