Merge branch 'master' into 'master'
fix example urls for (dis)associating runners to projects See merge request !2993
This commit is contained in:
commit
7254fb9e2b
1 changed files with 2 additions and 2 deletions
|
@ -275,7 +275,7 @@ POST /projects/:id/runners
|
||||||
| `runner_id` | integer | yes | The ID of a runner |
|
| `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:
|
Example response:
|
||||||
|
@ -306,7 +306,7 @@ DELETE /projects/:id/runners/:runner_id
|
||||||
| `runner_id` | integer | yes | The ID of a runner |
|
| `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:
|
Example response:
|
||||||
|
|
Loading…
Reference in a new issue