1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Add conditions for webhooks

This commit is contained in:
jeremystretch
2021-10-22 17:15:08 -04:00
parent 7e26d92190
commit 78ecc8673c
7 changed files with 51 additions and 18 deletions

View File

@ -61,7 +61,7 @@ class WebhookSerializer(ValidatedModelSerializer):
fields = [
'id', 'url', 'display', 'content_types', 'name', 'type_create', 'type_update', 'type_delete', 'payload_url',
'enabled', 'http_method', 'http_content_type', 'additional_headers', 'body_template', 'secret',
'ssl_verification', 'ca_file_path',
'conditions', 'ssl_verification', 'ca_file_path',
]