cowbird.api.webhooks.views

Attributes

LOGGER

Exceptions

WebhookDispatchException

Error indicating that an exception occurred during a webhook dispatch.

Functions

dispatch(→ None)

post_user_webhook_view(→ cowbird.typedefs.AnyResponseType)

User webhook used for created or removed user events.

post_permission_webhook_view(...)

Permission webhook used for created or removed permission events.

Module Contents

cowbird.api.webhooks.views.LOGGER[source]
exception cowbird.api.webhooks.views.WebhookDispatchException[source]

Bases: Exception

Error indicating that an exception occurred during a webhook dispatch.

Initialize self. See help(type(self)) for accurate signature.

cowbird.api.webhooks.views.dispatch(handler_fct: Callable[[cowbird.handlers.Handler], None]) None[source]
cowbird.api.webhooks.views.post_user_webhook_view(request: pyramid.request.Request) cowbird.typedefs.AnyResponseType[source]

User webhook used for created or removed user events.

cowbird.api.webhooks.views.post_permission_webhook_view(request: pyramid.request.Request) cowbird.typedefs.AnyResponseType[source]

Permission webhook used for created or removed permission events.