From 05e73356647cea999a707fd80625fcb92a93ce49 Mon Sep 17 00:00:00 2001 From: Tomasz Maczukin Date: Tue, 16 Feb 2016 12:43:43 +0100 Subject: [PATCH] Update docummentation - specific runner enabling [ci skip] --- doc/api/runners.md | 4 ++-- 1 file 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: