l.s.w.w.IWebhookTarget(Interface) : interface documentation

Part of lp.services.webhooks.webservice View In Hierarchy

Known subclasses: lp.code.interfaces.branch.IBranchEdit, lp.code.interfaces.gitrepository.IGitRepositoryEdit, lp.snappy.interfaces.snap.ISnapEdit

No interface docstring
List valid_webhook_event_types Valid event types for this object type.
List default_webhook_event_types Default event types for new webhooks attached to this object type.
Method newWebhook Create a new webhook.
valid_webhook_event_types =
Valid event types for this object type.
default_webhook_event_types =
Default event types for new webhooks attached to this object type.
@call_with(REQUEST_USER)
@export_factory_operation(IWebhook, 'delivery_url''active''event_types''secret')
@operation_for_version('devel')
def newWebhook(registrant, delivery_url, event_types, active=True, secret=None):
Create a new webhook.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.