| Name | Type | Description | Notes |
|---|---|---|---|
| created_at | datetime | [optional] | |
| created_by | str | [optional] | |
| created_by_url | str | [optional] | |
| disable_reason | int | [optional] | |
| disable_reason_str | str | [optional] | |
| events | list[str] | ||
| identifier | int | Deprecated (23-05-15): Please use 'slug_perm' instead. Previously: A monotonically increasing number that identified a webhook request within a repository. | [optional] |
| is_active | bool | If enabled, the webhook will trigger on subscribed events and send payloads to the configured target URL. | [optional] |
| is_last_response_bad | bool | [optional] | |
| last_response_status | int | [optional] | |
| last_response_status_str | str | [optional] | |
| num_sent | int | [optional] | |
| package_query | str | The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire. | [optional] |
| request_body_format | int | The format of the payloads for webhook requests. Valid options are: (0) JSON, (1) JSON array, (2) form encoded JSON and (3) Handlebars template. | [optional] |
| request_body_format_str | str | [optional] | |
| request_body_template_format | int | The format of the payloads for webhook requests. Valid options are: (0) Generic/user defined, (1) JSON and (2) XML. | [optional] |
| request_body_template_format_str | str | [optional] | |
| request_content_type | str | The value that will be sent for the 'Content Type' header. | [optional] |
| secret_header | str | The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side. | [optional] |
| self_url | str | [optional] | |
| slug_perm | str | [optional] | |
| target_url | str | The destination URL that webhook payloads will be POST'ed to. | |
| templates | list[WebhookTemplate] | ||
| updated_at | datetime | [optional] | |
| updated_by | str | [optional] | |
| updated_by_url | str | [optional] | |
| verify_ssl | bool | If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks. | [optional] |