Update runner's details
PUT
/v3/runners/{id}Update runner's details
请求参数
Path 参数
id
integer <int32>
必需
The ID of the runner
Body 参数application/x-www-form-urlencoded
description
string
可选
The description of the runner
active
boolean
可选
The state of a runner
tag_list
array[string]
可选
The list of tags for a runner
run_untagged
boolean
可选
Flag indicating the runner can execute untagged jobs
locked
boolean
可选
Flag indicating the runner is locked
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Update runner's details
数据结构
Update runner's details
id
string
可选
description
string
可选
active
string
可选
is_shared
string
可选
name
string
可选
tag_list
string
可选
run_untagged
string
可选
locked
string
可选
version
string
可选
revision
string
可选
platform
string
可选
architecture
string
可选
contacted_at
string
可选
token
string
可选
projects
object (BasicProjectDetails)
可选
Get all projects for admin user
id
string
可选
http_url_to_repo
string
可选
web_url
string
可选
name
string
可选
name_with_namespace
string
可选
path
string
可选
path_with_namespace
string
可选
示例
{
"id": "string",
"description": "string",
"active": "string",
"is_shared": "string",
"name": "string",
"tag_list": "string",
"run_untagged": "string",
"locked": "string",
"version": "string",
"revision": "string",
"platform": "string",
"architecture": "string",
"contacted_at": "string",
"token": "string",
"projects": {
"id": "string",
"http_url_to_repo": "string",
"web_url": "string",
"name": "string",
"name_with_namespace": "string",
"path": "string",
"path_with_namespace": "string"
}
}
最后修改时间: 1 个月前