l.s.w.i.IWebhookSet(Interface) : interface documentation

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

No interface docstring
Method new Create a new webhook.
Method delete Delete a collection of webhooks.
Method getByID Get a webhook by its ID.
Method findByTarget Find all webhooks for the given target.
Method trigger Trigger subscribed webhooks to deliver a payload.
def new(target, registrant, delivery_url, event_types, active, secret):
Create a new webhook.
def delete(hooks):
Delete a collection of webhooks.
def getByID(id):
Get a webhook by its ID.
def findByTarget(target):
Find all webhooks for the given target.
def trigger(target, event_type, payload, context=None):
Trigger subscribed webhooks to deliver a payload.
API Documentation for Launchpad, generated by pydoctor at 2020-09-24 00:00:06.