Package version:

Interface WebhookUpdateParameters

The parameters for updating a webhook.

Hierarchy

  • WebhookUpdateParameters

Properties

actions?: string[]

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

customHeaders?: {
    [propertyName: string]: string;
}

Custom headers that will be added to the webhook notifications.

Type declaration

  • [propertyName: string]: string
scope?: string

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.

serviceUri?: string

The service URI for the webhook to post notifications.

status?: string

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

tags?: {
    [propertyName: string]: string;
}

The tags for the webhook.

Type declaration

  • [propertyName: string]: string

Generated using TypeDoc