Update group level notification level settings, defaults to Global
PUT
/v3/groups/{id}/notification_settingsThis feature was introduced in GitLab 8.12
请求参数
Path 参数
id
string
必需
The group ID or project ID or project NAMESPACE/PROJECT_NAME
Body 参数application/x-www-form-urlencoded
level
string
可选
The group notification level
new_note
boolean
可选
Enable/disable this notification
new_issue
boolean
可选
Enable/disable this notification
reopen_issue
boolean
可选
Enable/disable this notification
close_issue
boolean
可选
Enable/disable this notification
reassign_issue
boolean
可选
Enable/disable this notification
new_merge_request
boolean
可选
Enable/disable this notification
reopen_merge_request
boolean
可选
Enable/disable this notification
close_merge_request
boolean
可选
Enable/disable this notification
reassign_merge_request
boolean
可选
Enable/disable this notification
merge_merge_request
boolean
可选
Enable/disable this notification
failed_pipeline
boolean
可选
Enable/disable this notification
success_pipeline
boolean
可选
Enable/disable this notification
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Update group level notification level settings, defaults to Global
数据结构
This feature was introduced in GitLab 8.12
level
string
可选
events
string
可选
示例
{
"level": "string",
"events": "string"
}
最后修改时间: 1 个月前