cowbird.api.webhooks.views ========================== .. py:module:: cowbird.api.webhooks.views Attributes ---------- .. autoapisummary:: cowbird.api.webhooks.views.LOGGER Exceptions ---------- .. autoapisummary:: cowbird.api.webhooks.views.WebhookDispatchException Functions --------- .. autoapisummary:: cowbird.api.webhooks.views.dispatch cowbird.api.webhooks.views.post_user_webhook_view cowbird.api.webhooks.views.post_permission_webhook_view Module Contents --------------- .. py:data:: LOGGER .. py:exception:: WebhookDispatchException Bases: :py:obj:`Exception` Error indicating that an exception occurred during a webhook dispatch. Initialize self. See help(type(self)) for accurate signature. .. py:function:: dispatch(handler_fct: Callable[[cowbird.handlers.Handler], None]) -> None .. py:function:: post_user_webhook_view(request: pyramid.request.Request) -> cowbird.typedefs.AnyResponseType User webhook used for created or removed user events. .. py:function:: post_permission_webhook_view(request: pyramid.request.Request) -> cowbird.typedefs.AnyResponseType Permission webhook used for created or removed permission events.