Skip to content

Commit

Permalink
Admin docs: Make list of webhook events exhausitve
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Sep 6, 2024
1 parent 129f81e commit 3e4ad44
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions admin_manual/webhook_listeners/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e4ad44

Please sign in to comment.