Update global notification level settings and email, defaults to Participate
PUT
/v3/notification_settingsThis feature was introduced in GitLab 8.12
请求参数
Body 参数application/x-www-form-urlencoded
level
string
可选
The global notification level
notification_email
string
可选
The email address to send notifications
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 global notification level settings and email, defaults to Participate
数据结构
This feature was introduced in GitLab 8.12
level
string
可选
events
string
可选
notification_email
string
可选
示例
{
"level": "string",
"events": "string",
"notification_email": "string"
}
最后修改时间: 1 个月前