summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2016-02-16 12:43:43 +0100
committerTomasz Maczukin <tomasz@maczukin.pl>2016-02-19 13:18:48 +0100
commit05e73356647cea999a707fd80625fcb92a93ce49 (patch)
treeb4737e05fc82949191f0f4575126dcfda5076714 /doc
parentb36116f9ad3990cb0d5c81ecb6d5b306dc41fbd5 (diff)
downloadgitlab-ce-05e73356647cea999a707fd80625fcb92a93ce49.tar.gz
Update docummentation - specific runner enabling
[ci skip]
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 876dd304208..2cdd40590c1 100644
--- a/doc/api/runners.md
+++ b/doc/api/runners.md
@@ -258,7 +258,7 @@ Example response:
Enable an available specific runner in the project.
```
-POST /projects/:id/runners/:runner_id
+POST /projects/:id/runners
```
| Attribute | Type | Required | Description |
@@ -267,7 +267,7 @@ POST /projects/:id/runners/:runner_id
| `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/9"
+curl -X POST -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/project/9/runners" -F "runner_id=9"
```
Example response: