add webhook initializer
This commit is contained in:
parent
187ae4b2a1
commit
7112a88359
2 changed files with 57 additions and 0 deletions
29
initializers/webhooks.yml
Normal file
29
initializers/webhooks.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
## Possible Choices:
|
||||
## object_types:
|
||||
## - device
|
||||
## - site
|
||||
## - any-other-content-type
|
||||
## types:
|
||||
## - type_create
|
||||
## - type_update
|
||||
## - type_delete
|
||||
## Examples:
|
||||
|
||||
# - name: device_creation
|
||||
# payload_url: 'https://github.com/netbox-community/netbox-docker'
|
||||
# object_types:
|
||||
# - device
|
||||
# - cable
|
||||
# type_create: True
|
||||
# - name: device_update
|
||||
# payload_url: 'https://google.com'
|
||||
# object_types:
|
||||
# - device
|
||||
# type_update: True
|
||||
- name: device_dele1te
|
||||
payload_url: 'https://gitlab.com'
|
||||
object_types:
|
||||
- device
|
||||
type_delete: True
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue