WebhookRepresentationList
Index
Methods
Methods
from_webhooks
Construct from a list of
WebhookCreatemodels or plain dicts.Dicts are validated directly as
WebhookRepresentation, so only the minimal ad-hoc webhook fields (event_types,request_url, and optionallypayload_template/headers_template) are required.Parameters
webhooks: list[WebhookCreate] | list[dict]
Returns WebhookRepresentationList
to_base64
Encode this list of webhook representations to a base64 string.
Returns
Noneif the list is empty, so that the query parameter is omitted.Returns str | None
List of webhook representations with base64 encoding support.