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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
440023de
Commit
440023de
authored
Sep 20, 2019
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add GitHub service API documentation
parent
2acd4985
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
1 deletion
+37
-1
doc/api/services.md
doc/api/services.md
+36
-0
ee/lib/ee/api/helpers/services_helpers.rb
ee/lib/ee/api/helpers/services_helpers.rb
+1
-1
No files found.
doc/api/services.md
View file @
440023de
...
...
@@ -414,6 +414,42 @@ Get Flowdock service settings for a project.
GET /projects/:id/services/flowdock
```
## GitHub **(PREMIUM)**
Code collaboration software.
### Create/Edit GitHub service
Set GitHub service for a project.
```
PUT /projects/:id/services/github
```
Parameters:
| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
|
`token`
| string | true | GitHub API token with
`repo:status`
OAuth scope |
|
`repository_url`
| string | true | GitHub repository URL |
|
`static_context`
| boolean | false | Append instance name instead of branch to
[
status check name
](
../user/project/integrations/github.md#static--dynamic-status-check-names
)
|
### Delete GitHub service
Delete GitHub service for a project.
```
DELETE /projects/:id/services/github
```
### Get GitHub service settings
Get GitHub service settings for a project.
```
GET /projects/:id/services/github
```
## Hangouts Chat
Google GSuite team collaboration tool.
...
...
ee/lib/ee/api/helpers/services_helpers.rb
View file @
440023de
...
...
@@ -30,7 +30,7 @@ module EE
required:
false
,
name: :static_context
,
type:
::
API
::
Services
::
Boolean
,
desc:
""
desc:
'Append instance name instead of branch to status check name'
}
],
'jenkins'
=>
[
...
...
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