Unary · Webhooks
Updates a webhook’s configuration.
Use this method to:
- Change webhook name or description
- Change webhook scopes (the target repositories or organization)
Examples
-
Update webhook name:
Changes the webhook’s display name.
-
Update webhook scopes:
Changes the webhook’s target repositories.
Endpoint
https://app.ona.com with that domain.
Request example
Request
gitpod.v1.UpdateWebhookRequest
UpdateWebhookRequest updates a webhook’s configuration.
Response
gitpod.v1.UpdateWebhookResponse
Related types
Webhook
Webhook
Webhook represents a webhook endpoint for receiving SCM events.
gitpod.v1.WebhookMetadata
Metadata
Metadata contains organizational and ownership information.
gitpod.v1.Webhook.MetadataSpec
Spec
Spec contains the webhook configuration.
gitpod.v1.Webhook.SpecWebhookOrganizationScope
WebhookOrganizationScope
WebhookOrganizationScope represents an SCM organization in the webhook’s scope.
gitpod.v1.WebhookOrganizationScopeWebhookRepositoryScope
WebhookRepositoryScope
WebhookRepositoryScope represents a repository in the webhook’s scope.
Contains SCM repository information needed to generate execution contexts.
The clone URL can be derived as https://{host}/{owner}/{name}.git
gitpod.v1.WebhookRepositoryScopeWebhookProvider
WebhookProvider
WebhookProvider identifies the Git provider.
WebhookType
WebhookType
WebhookType determines the scope level of the webhook.