Package version:

Interface WebhookCreateParameters

The parameters for creating a webhook.

Hierarchy

  • WebhookCreateParameters

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
location: string

The location of the webhook. This cannot be changed after the resource is created.

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