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
94704a49
Commit
94704a49
authored
Aug 10, 2020
by
Vladimir Shushlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add deployment_events to project hooks api
parent
d2e9e2cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
doc/api/projects.md
doc/api/projects.md
+3
-0
No files found.
doc/api/projects.md
View file @
94704a49
...
...
@@ -1985,6 +1985,7 @@ GET /projects/:id/hooks/:hook_id
"job_events"
:
true
,
"pipeline_events"
:
true
,
"wiki_page_events"
:
true
,
"deployment_events"
:
true
,
"enable_ssl_verification"
:
true
,
"created_at"
:
"2012-10-12T17:04:47Z"
}
...
...
@@ -2013,6 +2014,7 @@ POST /projects/:id/hooks
|
`job_events`
| boolean | no | Trigger hook on job events |
|
`pipeline_events`
| boolean | no | Trigger hook on pipeline events |
|
`wiki_page_events`
| boolean | no | Trigger hook on wiki events |
|
`deployment_events`
| boolean | no | Trigger hook on deployment events |
|
`enable_ssl_verification`
| boolean | no | Do SSL verification when triggering the hook |
|
`token`
| string | no | Secret token to validate received payloads; this will not be returned in the response |
...
...
@@ -2040,6 +2042,7 @@ PUT /projects/:id/hooks/:hook_id
|
`job_events`
| boolean | no | Trigger hook on job events |
|
`pipeline_events`
| boolean | no | Trigger hook on pipeline events |
|
`wiki_events`
| boolean | no | Trigger hook on wiki events |
|
`deployment_events`
| boolean | no | Trigger hook on deployment events |
|
`enable_ssl_verification`
| boolean | no | Do SSL verification when triggering the hook |
|
`token`
| string | no | Secret token to validate received payloads; this will not be returned in the response |
...
...
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