WebhookPropertiesUpdateParameters Class
The parameters for updating the properties of a webhook.
Constructor
WebhookPropertiesUpdateParameters()
Variables
| Name | Description |
|---|---|
|
serviceUri
|
The service URI for the webhook to post notifications. |
|
customHeaders
|
Custom headers that will be added to the webhook notifications. |
|
status
|
The status of the webhook at the time the operation was called. Known values are: "enabled" and "disabled". |
|
scope
|
The scope of repositories where the event can be triggered. For example, 'foo:>>*<<' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events. |
|
actions
|
The list of actions that trigger the webhook to post notifications. |
Attributes
actions
The list of actions that trigger the webhook to post notifications.
actions: list[typing.Union[str, ForwardRef('WebhookAction')]]
customHeaders
Custom headers that will be added to the webhook notifications.
customHeaders: dict[str, str]
scope
*<<' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.
scope: str
serviceUri
The service URI for the webhook to post notifications.
serviceUri: str
status
"enabled" and "disabled".
status: str | WebhookStatus