Create or update the Gitlab Slack Application integration
Creates or updates the Gitlab Slack Application integration.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body
Section titled “ Request Body ”object
Default channel to use if no other channel is configured.
Send notifications for broken pipelines.
Send notifications only when the pipeline status changes.
Branches to send notifications for. Valid options are all, default, protected, and default_and_protected. The default value is default.
Labels to send notifications for. Leave blank to receive notifications for all events.
Labels to be notified for. Valid options are match_any and match_all. The default value is match_any.
The name of the channel to receive push_events notifications
The name of the channel to receive issues_events notifications
The name of the channel to receive incident_events notifications
The name of the channel to receive alert_events notifications
The name of the channel to receive confidential_issues_events notifications
The name of the channel to receive merge_requests_events notifications
The name of the channel to receive note_events notifications
The name of the channel to receive confidential_note_events notifications
The name of the channel to receive tag_push_events notifications
The name of the channel to receive deployment_events notifications
The name of the channel to receive pipeline_events notifications
The name of the channel to receive wiki_page_events notifications
The name of the channel to receive vulnerability_events notifications
Trigger event for pushes to the repository.
Trigger event when a work item is created, updated, or closed.
Trigger event when a confidential work item is created, updated, or closed.
Trigger event when a merge request is created, updated, or merged.
Trigger event for new comments.
Trigger event for new comments on confidential work items.
Trigger event for new tags pushed to the repository.
Trigger event when a pipeline status changes.
Trigger event when a wiki page is created or updated.
Trigger event when a deployment starts or finishes.
Trigger event when an incident is created.
Trigger event when a new, unique alert is recorded.
Indicates whether to inherit the default settings. Defaults to false.
Example generated
{ "channel": "example", "notify_only_broken_pipelines": true, "notify_only_when_pipeline_status_changes": true, "branches_to_be_notified": "example", "labels_to_be_notified": "example", "labels_to_be_notified_behavior": "example", "push_channel": "example", "issue_channel": "example", "incident_channel": "example", "alert_channel": "example", "confidential_issue_channel": "example", "merge_request_channel": "example", "note_channel": "example", "confidential_note_channel": "example", "tag_push_channel": "example", "deployment_channel": "example", "pipeline_channel": "example", "wiki_page_channel": "example", "vulnerability_channel": "example", "push_events": true, "issues_events": true, "confidential_issues_events": true, "merge_requests_events": true, "note_events": true, "confidential_note_events": true, "tag_push_events": true, "pipeline_events": true, "wiki_page_events": true, "deployment_events": true, "incident_events": true, "work_item_events": true, "confidential_work_item_events": true, "vulnerability_events": true, "alert_events": true, "use_inherited_settings": true}Responses
Section titled “ Responses ”OK
object
Example
{ "id": 75, "title": "Jenkins CI", "slug": "jenkins", "created_at": "2019-11-20T11:20:25.297Z", "updated_at": "2019-11-20T12:24:37.498Z"}Bad request
Unauthorized
Not found
Unprocessable entity