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
dc32af95
Commit
dc32af95
authored
Feb 03, 2016
by
Achilleas Pipinellis
Committed by
Tomasz Maczukin
Feb 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More fixes in runners doc
[ci skip]
parent
a09ae173
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
doc/api/runners.md
doc/api/runners.md
+13
-8
No files found.
doc/api/runners.md
View file @
dc32af95
...
...
@@ -2,10 +2,11 @@
## List owned runners
Get a list of
specific runners available for
user.
Get a list of
runners available to the
user.
```
GET /runners
GET /runners?scope=active
```
| Attribute | Type | Required | Description |
...
...
@@ -39,10 +40,12 @@ Example response:
## List all runners
Get a list of all runners (specific and shared). Access restricted to users with
`admin`
privileges.
Get a list of all runners in the GitLab instance (specific and shared). Access
is restricted to users with
`admin`
privileges.
```
GET /runners/all
GET /runners?scope=online
```
| Attribute | Type | Required | Description |
...
...
@@ -210,8 +213,9 @@ Example response:
## List project's runners
List all runners (
*shared*
and
*specific*
) available in project. Shared runners are listed if at least one shared runner
is defined
**and**
shared runners usage is enabled in project's settings.
List all runners (specific and shared) available in the project. Shared runners
are listed if at least one shared runner is defined
**and**
shared runners
usage is enabled in the project's settings.
```
GET /projects/:id/runners
...
...
@@ -222,7 +226,7 @@ GET /projects/:id/runners
|
`id`
| integer | yes | The ID of a project |
```
curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/project/9/runners"
curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/project
s
/9/runners"
```
Example response:
...
...
@@ -248,7 +252,7 @@ Example response:
## Enable a runner in project
Enable a
vailable specific runner in
project.
Enable a
n available specific runner in the
project.
```
POST /projects/:id/runners/:runner_id
...
...
@@ -277,8 +281,9 @@ Example response:
## Disable a runner from project
Disable a specific runner from project. It works only, if the project isn't an only project associated with the
specified runner. If so, then an error is returned and user should use the
[
remove a runner
](
#remove-a-runner
)
feature.
Disable a specific runner from the project. It works only if the project isn't
the only project associated with the specified runner. If so, an error is
returned. Use the
[
Remove a runner
](
#remove-a-runner
)
call instead.
```
DELETE /projects/:id/runners/:runner_id
...
...
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