Set drone-ci service for project
PUT
/v3/projects/{id}/services/drone-ciSet drone-ci service for project
请求参数
Path 参数
id
integer <int32>
必需
Body 参数application/x-www-form-urlencoded
token
string
必需
Drone CI token
drone_url
string
必需
Drone CI URL
enable_ssl_verification
boolean
可选
Enable SSL verification for communication
push_events
string
可选
Event will be triggered by a push to the repository
merge_request_events
string
可选
Event will be triggered when a merge request is created/updated/merged
tag_push_events
string
可选
Event will be triggered when a new tag is pushed to the repository
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Set drone-ci service for project
数据结构
object {0}
示例
{}
最后修改时间: 1 个月前