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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
5face7e2
Commit
5face7e2
authored
Apr 21, 2021
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update REST doc examples
parent
a7df4d44
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
doc/api/jobs.md
doc/api/jobs.md
+12
-1
doc/api/pipelines.md
doc/api/pipelines.md
+5
-1
No files found.
doc/api/jobs.md
View file @
5face7e2
...
...
@@ -43,6 +43,7 @@ Example of response
"started_at"
:
"2015-12-24T17:54:27.722Z"
,
"finished_at"
:
"2015-12-24T17:54:27.895Z"
,
"duration"
:
0.173
,
"queued_duration"
:
0.010
,
"artifacts_file"
:
{
"filename"
:
"artifacts.zip"
,
"size"
:
1000
...
...
@@ -107,6 +108,7 @@ Example of response
"started_at"
:
"2015-12-24T17:54:24.729Z"
,
"finished_at"
:
"2015-12-24T17:54:24.921Z"
,
"duration"
:
0.192
,
"queued_duration"
:
0.023
,
"artifacts_expire_at"
:
"2016-01-23T17:54:24.921Z"
,
"tag_list"
:
[
"docker runner"
,
"win10-2004"
...
...
@@ -187,6 +189,7 @@ Example of response
"started_at"
:
"2015-12-24T17:54:24.729Z"
,
"finished_at"
:
"2015-12-24T17:54:24.921Z"
,
"duration"
:
0.192
,
"queued_duration"
:
0.023
,
"artifacts_expire_at"
:
"2016-01-23T17:54:24.921Z"
,
"tag_list"
:
[
"docker runner"
,
"ubuntu18"
...
...
@@ -241,6 +244,7 @@ Example of response
"started_at"
:
"2015-12-24T17:54:27.722Z"
,
"finished_at"
:
"2015-12-24T17:54:27.895Z"
,
"duration"
:
0.173
,
"queued_duration"
:
0.023
,
"artifacts_file"
:
{
"filename"
:
"artifacts.zip"
,
"size"
:
1000
...
...
@@ -339,6 +343,7 @@ Example of response
"started_at"
:
"2015-12-24T17:54:27.722Z"
,
"finished_at"
:
"2015-12-24T17:58:27.895Z"
,
"duration"
:
240
,
"queued_duration"
:
0.123
,
"id"
:
7
,
"name"
:
"teaspoon"
,
"pipeline"
:
{
...
...
@@ -422,6 +427,7 @@ Example of response
"started_at"
:
"2015-12-24T17:54:30.733Z"
,
"finished_at"
:
"2015-12-24T17:54:31.198Z"
,
"duration"
:
0.465
,
"queued_duration"
:
0.123
,
"artifacts_expire_at"
:
"2016-01-23T17:54:31.198Z"
,
"id"
:
8
,
"name"
:
"rubocop"
,
...
...
@@ -575,6 +581,7 @@ Example of response
"started_at"
:
"2015-12-24T17:54:30.733Z"
,
"finished_at"
:
"2015-12-24T17:54:31.198Z"
,
"duration"
:
0.465
,
"queued_duration"
:
0.010
,
"artifacts_expire_at"
:
"2016-01-23T17:54:31.198Z"
,
"tag_list"
:
[
"docker runner"
,
"macos-10.15"
...
...
@@ -675,6 +682,7 @@ Example of response
"started_at"
:
"2016-01-11T10:14:09.526Z"
,
"finished_at"
:
null
,
"duration"
:
8
,
"queued_duration"
:
0.010
,
"id"
:
42
,
"name"
:
"rubocop"
,
"ref"
:
"master"
,
...
...
@@ -724,6 +732,7 @@ Example of response
"started_at"
:
null
,
"finished_at"
:
null
,
"duration"
:
null
,
"queued_duration"
:
0.010
,
"id"
:
42
,
"name"
:
"rubocop"
,
"ref"
:
"master"
,
...
...
@@ -784,6 +793,7 @@ Example of response
"started_at"
:
"2016-01-11T10:13:33.506Z"
,
"finished_at"
:
"2016-01-11T10:15:10.506Z"
,
"duration"
:
97.0
,
"queued_duration"
:
0.010
,
"status"
:
"failed"
,
"tag"
:
false
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/42"
,
...
...
@@ -827,13 +837,14 @@ Example of response
"started_at"
:
null
,
"finished_at"
:
null
,
"duration"
:
null
,
"queued_duration"
:
0.010
,
"id"
:
42
,
"name"
:
"rubocop"
,
"ref"
:
"master"
,
"artifacts"
:
[],
"runner"
:
null
,
"stage"
:
"test"
,
"status"
:
"
started
"
,
"status"
:
"
pending
"
,
"tag"
:
false
,
"web_url"
:
"https://example.com/foo/bar/-/jobs/42"
,
"user"
:
null
...
...
doc/api/pipelines.md
View file @
5face7e2
...
...
@@ -117,7 +117,8 @@ Example of response
"started_at"
:
null
,
"finished_at"
:
"2016-08-11T11:32:35.145Z"
,
"committed_at"
:
null
,
"duration"
:
null
,
"duration"
:
123.65
,
"queued_duration"
:
0.010
,
"coverage"
:
"30.0"
,
"web_url"
:
"https://example.com/foo/bar/pipelines/46"
}
...
...
@@ -254,6 +255,7 @@ Example of response
"finished_at"
:
null
,
"committed_at"
:
null
,
"duration"
:
null
,
"queued_duration"
:
0.010
,
"coverage"
:
null
,
"web_url"
:
"https://example.com/foo/bar/pipelines/61"
}
...
...
@@ -302,6 +304,7 @@ Response:
"finished_at"
:
"2016-08-11T11:32:35.145Z"
,
"committed_at"
:
null
,
"duration"
:
null
,
"queued_duration"
:
0.010
,
"coverage"
:
null
,
"web_url"
:
"https://example.com/foo/bar/pipelines/46"
}
...
...
@@ -350,6 +353,7 @@ Response:
"finished_at"
:
"2016-08-11T11:32:35.145Z"
,
"committed_at"
:
null
,
"duration"
:
null
,
"queued_duration"
:
0.010
,
"coverage"
:
null
,
"web_url"
:
"https://example.com/foo/bar/pipelines/46"
}
...
...
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