diff options
author | Kukovskii Vladimir <ura@dgtakano.co.jp> | 2018-06-28 22:53:37 +0900 |
---|---|---|
committer | Kukovskii Vladimir <ura@dgtakano.co.jp> | 2018-07-14 20:45:53 +0900 |
commit | d63a0a07f4ac80c1a3f801fd8087762847b4a018 (patch) | |
tree | fe440a5bf609438f1f89711d4f32593073170db8 /doc/api/services.md | |
parent | cb77d939c919ac8ebf4288724febdf7bb8238399 (diff) | |
download | gitlab-ce-d63a0a07f4ac80c1a3f801fd8087762847b4a018.tar.gz |
Add documentation for Hangouts Chat integration
Diffstat (limited to 'doc/api/services.md')
-rw-r--r-- | doc/api/services.md | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/doc/api/services.md b/doc/api/services.md index aeb48ccc36c..29da1139fcc 100644 --- a/doc/api/services.md +++ b/doc/api/services.md @@ -443,6 +443,52 @@ Get Gemnasium service settings for a project. GET /projects/:id/services/gemnasium ``` +## Hangouts Chat + +Google GSuite team collaboration tool. + +### Create/Edit Hangouts Chat service + +Set Hangouts Chat service for a project. + +``` +PUT /projects/:id/services/hangouts_chat +``` + +>**Note:** Specific event parameters (e.g. `push_events` flag) were [introduced in v10.4][11435] + +Parameters: + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `webhook` | string | true | The Hangouts Chat webhook. e.g. https://chat.googleapis.com/v1/spaces... | +| `notify_only_broken_pipelines` | boolean | false | Send notifications for broken pipelines | +| `notify_only_default_branch` | boolean | false | Send notifications only for the default branch | +| `push_events` | boolean | false | Enable notifications for push events | +| `issues_events` | boolean | false | Enable notifications for issue events | +| `confidential_issues_events` | boolean | false | Enable notifications for confidential issue events | +| `merge_requests_events` | boolean | false | Enable notifications for merge request events | +| `tag_push_events` | boolean | false | Enable notifications for tag push events | +| `note_events` | boolean | false | Enable notifications for note events | +| `pipeline_events` | boolean | false | Enable notifications for pipeline events | +| `wiki_page_events` | boolean | false | Enable notifications for wiki page events | + +### Delete Hangouts Chat service + +Delete Hangouts Chat service for a project. + +``` +DELETE /projects/:id/services/hangouts_chat +``` + +### Get Hangouts Chat service settings + +Get Hangouts Chat service settings for a project. + +``` +GET /projects/:id/services/hangouts_chat +``` + ## HipChat Private group chat and IM |