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
6a3437ff
Commit
6a3437ff
authored
Aug 14, 2018
by
Jens Goldhammer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(docs): add field repository_update_events
- adds the field repository_update_events as json field
parent
125809ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
doc/api/system_hooks.md
doc/api/system_hooks.md
+4
-1
No files found.
doc/api/system_hooks.md
View file @
6a3437ff
...
...
@@ -34,6 +34,7 @@ Example response:
"push_events"
:
true
,
"tag_push_events"
:
false
,
"merge_requests_events"
:
true
,
"repository_update_events"
:
true
,
"enable_ssl_verification"
:
true
}
]
...
...
@@ -56,6 +57,7 @@ POST /hooks
|
`push_events`
| boolean | no | When true, the hook will fire on push events |
|
`tag_push_events`
| boolean | no | When true, the hook will fire on new tags being pushed |
|
`merge_requests_events`
| boolean | no | Trigger hook on merge requests events |
|
`repository_update_events`
| boolean | no | Trigger hook on repository update events |
|
`enable_ssl_verification`
| boolean | no | Do SSL verification when triggering the hook |
Example request:
...
...
@@ -75,6 +77,7 @@ Example response:
"push_events"
:
true
,
"tag_push_events"
:
false
,
"merge_requests_events"
:
true
,
"repository_update_events"
:
true
,
"enable_ssl_verification"
:
true
}
]
...
...
@@ -127,4 +130,4 @@ Example request:
```
bash
curl
--request
DELETE
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v4/hooks/2
```
```
\ No newline at end of file
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