Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHannes Rosenögger <123haynes@gmail.com>2016-05-19 00:54:01 +0300
committerHannes Rosenögger <123haynes@gmail.com>2016-05-19 00:54:01 +0300
commit7254fb9e2bd4e03df7f2e9f1cde5293b5f8e40c5 (patch)
tree3eb72ec912445db7dd2567ac811f836c386889df /doc
parent3019ab99bc4c27dab3114313d9cc038e5f726fee (diff)
parent33520f1f699502740e67682b17ccd9432b6e693b (diff)
Merge branch 'master' into 'master'
fix example urls for (dis)associating runners to projects See merge request !2993
Diffstat (limited to 'doc')
-rw-r--r--doc/api/runners.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/runners.md b/doc/api/runners.md
index cc6c6b7cb2f..ddfa298f79d 100644
--- a/doc/api/runners.md
+++ b/doc/api/runners.md
@@ -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/projects/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/projects/9/runners/9"
```
Example response: