summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-08-29 16:09:30 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-03 23:49:10 +0900
commit13b9b5f11a556b2841aabbf46516d1acab79aa0d (patch)
treecad36554f682546915249aa4a8c9fc415cb3a808 /doc
parent1024718e9fddbb0d61d3f64f44303964641fcdd8 (diff)
downloadgitlab-ce-13b9b5f11a556b2841aabbf46516d1acab79aa0d.tar.gz
Improve API arguments as String
Diffstat (limited to 'doc')
-rw-r--r--doc/api/runners.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/runners.md b/doc/api/runners.md
index df458af77bb..8146a7e0647 100644
--- a/doc/api/runners.md
+++ b/doc/api/runners.md
@@ -139,7 +139,7 @@ Example response:
"mysql"
],
"version": null,
- "access_level": 0
+ "access_level": "ref_protected"
}
```
@@ -159,7 +159,7 @@ PUT /runners/:id
| `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; `not_protected`: 0, `ref_protected`: 1 |
+| `access_level` | integer | no | The access_level of the runner; `not_protected` or `ref_protected` |
```
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"
@@ -195,7 +195,7 @@ Example response:
"tag2"
],
"version": null,
- "access_level": 0
+ "access_level": "ref_protected"
}
```