Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
23266e265828
Commit
7254fb9e
authored
May 18, 2016
by
Hannes Rosenögger
Browse files
Merge branch 'master' into 'master'
fix example urls for (dis)associating runners to projects See merge request !2993
parents
f125ccdf37a2
bcba89eb8f8b
Changes
1
Show whitespace changes
Inline
Side-by-side
doc/api/runners.md
View file @
23266e26
...
...
@@ -275,7 +275,7 @@ POST /projects/:id/runners
|
`runner_id`
| integer | yes | The ID of a runner |
```
curl -X POST -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/project/9/runners" -F "runner_id=9"
curl -X POST -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/project
s
/9/runners" -F "runner_id=9"
```
Example response:
...
...
@@ -306,7 +306,7 @@ DELETE /projects/:id/runners/:runner_id
|
`runner_id`
| integer | yes | The ID of a runner |
```
curl -X DELETE -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/project/9/runners/9"
curl -X DELETE -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/project
s
/9/runners/9"
```
Example response:
...
...
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