Share via


WebhookProperties interface

The properties of a webhook.

Properties

actions

The list of actions that trigger the webhook to post notifications.

provisioningState

The provisioning state of the webhook at the time the operation was called.

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.

status

The status of the webhook at the time the operation was called.

Property Details

actions

The list of actions that trigger the webhook to post notifications.

actions: string[]

Property Value

string[]

provisioningState

The provisioning state of the webhook at the time the operation was called.

provisioningState?: string

Property Value

string

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.

scope?: string

Property Value

string

status

The status of the webhook at the time the operation was called.

status?: string

Property Value

string