Package version:

The parameters for updating a webhook.

interface WebhookUpdateParameters {
    actions?: string[];
    customHeaders?: {
        [propertyName: string]: string;
    };
    scope?: string;
    serviceUri?: string;
    status?: string;
    tags?: {
        [propertyName: string]: string;
    };
}

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.

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.