FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-gitlab/docs/gl_objects/system_hooks.py at master · matejzero/python-gitlab · GitHub
matejzero
python-gitlab
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-gitlab
/
docs
/
gl_objects
/
system_hooks.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (14 loc) · 231 Bytes
Breadcrumbs
python-gitlab
/
docs
/
gl_objects
/
system_hooks.py
Copy path
File metadata and controls
17 lines (14 loc) · 231 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# list
hooks
=
gl
.
hooks
.
list
()
# end list
# test
gl
.
hooks
.
get
(
hook_id
)
# end test
# create
hook
=
gl
.
hooks
.
create
({
'url'
:
'http://your.target.url'
})
# end create
# delete
gl
.
hooks
.
delete
(
hook_id
)
# or
hook
.
delete
()
# end delete
Back
|
FazBrowse Home
|
New Git URL