Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
58e1a089
Commit
58e1a089
authored
Feb 13, 2019
by
Robert Schilling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
API: Fix docs and parameters for hangouts-chat service
parent
7a8f8714
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
changelogs/unreleased/57101-api-docs-for-hangouts-chat-service-incorrect.yml
...ed/57101-api-docs-for-hangouts-chat-service-incorrect.yml
+5
-0
doc/api/services.md
doc/api/services.md
+3
-3
lib/api/services.rb
lib/api/services.rb
+3
-2
No files found.
changelogs/unreleased/57101-api-docs-for-hangouts-chat-service-incorrect.yml
0 → 100644
View file @
58e1a089
---
title
:
'
API:
Fix
docs
and
parameters
for
hangouts-chat
service'
merge_request
:
25180
author
:
Robert Schilling
type
:
fixed
doc/api/services.md
View file @
58e1a089
...
@@ -412,7 +412,7 @@ Google GSuite team collaboration tool.
...
@@ -412,7 +412,7 @@ Google GSuite team collaboration tool.
Set Hangouts Chat service for a project.
Set Hangouts Chat service for a project.
```
```
PUT /projects/:id/services/hangouts
_
chat
PUT /projects/:id/services/hangouts
-
chat
```
```
>**Note:** Specific event parameters (e.g. `push_events` flag) were [introduced in v10.4][11435]
>**Note:** Specific event parameters (e.g. `push_events` flag) were [introduced in v10.4][11435]
...
@@ -438,7 +438,7 @@ Parameters:
...
@@ -438,7 +438,7 @@ Parameters:
Delete Hangouts Chat service for a project.
Delete Hangouts Chat service for a project.
```
```
DELETE /projects/:id/services/hangouts
_
chat
DELETE /projects/:id/services/hangouts
-
chat
```
```
### Get Hangouts Chat service settings
### Get Hangouts Chat service settings
...
@@ -446,7 +446,7 @@ DELETE /projects/:id/services/hangouts_chat
...
@@ -446,7 +446,7 @@ DELETE /projects/:id/services/hangouts_chat
Get Hangouts Chat service settings for a project.
Get Hangouts Chat service settings for a project.
```
```
GET /projects/:id/services/hangouts
_
chat
GET /projects/:id/services/hangouts
-
chat
```
```
## Irker (IRC gateway)
## Irker (IRC gateway)
...
...
lib/api/services.rb
View file @
58e1a089
...
@@ -368,8 +368,9 @@ module API
...
@@ -368,8 +368,9 @@ module API
name: :webhook
,
name: :webhook
,
type:
String
,
type:
String
,
desc:
'The Hangouts Chat webhook. e.g. https://chat.googleapis.com/v1/spaces…'
desc:
'The Hangouts Chat webhook. e.g. https://chat.googleapis.com/v1/spaces…'
}
},
],
CHAT_NOTIFICATION_EVENTS
].
flatten
,
'irker'
=>
[
'irker'
=>
[
{
{
required:
true
,
required:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment