Webhooks API
- class nc_py_api.webhooks.WebhookInfo(raw_data: dict)[source]
Information about the Webhook.
- property webhook_id: int
ID of the webhook.
- property app_id: str
ID of the ExApp that registered webhook.
- property user_id: str
UserID if webhook was registered in user context.
- property http_method: str
HTTP method used to call webhook.
- property uri: str
URL address that will be called for this webhook.
- property event: str
Nextcloud PHP event that triggers this webhook.
- property event_filter
Mongo filter to apply to the serialized data to decide if firing.
- property user_id_filter: str
Currently unknown.
- property headers: dict
Headers that should be added to request when calling webhook.
- property auth_method: str
Currently unknown.
- property auth_data: dict
Currently unknown.
- class nc_py_api.webhooks._WebhooksAPI(session: NcSessionBasic)[source]
The class provides the application management API on the Nextcloud server.