From 3e4ad446bff47982ae69f665ef65c7febb167631 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Fri, 6 Sep 2024 13:55:08 +0200 Subject: [PATCH] Admin docs: Make list of webhook events exhausitve Signed-off-by: Marcel Klehr --- admin_manual/webhook_listeners/index.rst | 36 ++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/admin_manual/webhook_listeners/index.rst b/admin_manual/webhook_listeners/index.rst index 235052e36..0afbcff6e 100644 --- a/admin_manual/webhook_listeners/index.rst +++ b/admin_manual/webhook_listeners/index.rst @@ -38,6 +38,42 @@ Nextcloud Webhook Events This is an exhaustive list of available events. It features the event ID and the available variables for filtering. + * OCA\\Forms\\Events\\FormSubmittedEvent + + .. code-block:: text + + array{ + "user": array {"uid": string, "displayName": string}, + "time": int, + "event": array{ + "class": string, + "form": array{ + "id": int, + "hash": string, + "title": string, + "description": string, + "ownerId": string, + "fileId": string|null, + "fileFormat": string|null, + "created": int, + "access": int, + "expires": int, + "isAnonymous": bool, + "submitMultiple": bool, + "showExpiration": bool, + "lastUpdated": int, + "submissionMessage": string|null, + "state": int, + }, + "submission": array{ + "id": int, + "formId": int, + "userId": string, + "timestamp": int, + }, + } + } + * OCA\\Tables\\Event\\RowAddedEvent .. code-block:: text