summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-08-24 01:28:57 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-03 23:49:10 +0900
commit6f19fc1147a60f279db35428993ac532841195ad (patch)
treee54e06487c4f13290890806df85d9272cb65a4ad /doc
parentaf112c55e54874a37e780de6723c64e9be61b6e8 (diff)
downloadgitlab-ce-6f19fc1147a60f279db35428993ac532841195ad.tar.gz
Add API support
Diffstat (limited to 'doc')
-rw-r--r--doc/api/runners.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/api/runners.md b/doc/api/runners.md
index 16d362a3530..dcca30dbfa7 100644
--- a/doc/api/runners.md
+++ b/doc/api/runners.md
@@ -138,7 +138,8 @@ Example response:
"ruby",
"mysql"
],
- "version": null
+ "version": null,
+ "access_level": 0
}
```
@@ -156,6 +157,9 @@ PUT /runners/:id
| `description` | string | no | The description of a runner |
| `active` | boolean | no | The state of a runner; can be set to `true` or `false` |
| `tag_list` | array | no | The list of tags for a runner; put array of tags, that should be finally assigned to a runner |
+| `run_untagged` | boolean | no | Flag indicating the runner can execute untagged jobs |
+| `locked` | boolean | no | Flag indicating the runner is locked |
+| `access_level` | integer | no | The access_level of the runner; `unprotected`: 0, `protected`: 1 |
```
curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/runners/6" --form "description=test-1-20150125-test" --form "tag_list=ruby,mysql,tag1,tag2"
@@ -190,7 +194,8 @@ Example response:
"tag1",
"tag2"
],
- "version": null
+ "version": null,
+ "access_level": 0
}
```