Skip to main content
Version: Next

WebhookRepresentationList

List of webhook representations with base64 encoding support.

Index

Methods

from_webhooks

  • Construct from a list of webhooks.

    See WebhooksList for the accepted shapes. WebhookRepresentation instances are used as-is; all other shapes are validated into WebhookRepresentation, keeping only its fields and ignoring any extras (e.g. condition).


    Parameters

    Returns WebhookRepresentationList

to_base64

  • to_base64(): str | None
  • Encode this list of webhook representations to a base64 string.

    Returns None if the list is empty, so that the query parameter is omitted.


    Returns str | None

Page Options