mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-20 14:11:11 +00:00
Improve API arguments as String
This commit is contained in:
@ -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"
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user