Webhook.Definition, Webhook.DefinitionStages.WithCreatepublic static interface Webhook.DefinitionStages.WithScope
| Modifier and Type | Method | Description |
|---|---|---|
Webhook.DefinitionStages.WithCreate |
withScope(String scope) |
Specifies scope.
|
Webhook.DefinitionStages.WithCreate withScope(String scope)
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 /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/