fix(webhook_listeners): Document Tag{Assigned,Unassigned}Event

instead of not-working MapperEvent

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr
2025-09-16 13:43:31 +02:00
committed by backportbot[bot]
parent 74f3d1dba0
commit e1998e9441

View File

@@ -662,7 +662,7 @@ This is an exhaustive list of available events. It features the event ID and the
}
}
* OCP\\SystemTag\\MapperEvent
* OCP\\SystemTag\\TagAssignedEvent
.. code-block:: text
@@ -671,9 +671,23 @@ This is an exhaustive list of available events. It features the event ID and the
"time": int,
"event": array{
"class": string,
'eventType' => 'OCP\SystemTag\ISystemTagObjectMapper::assignTags' | 'OCP\SystemTag\ISystemTagObjectMapper::unassignTags',
'objectType' => string (e.g. 'files'),
'objectId' => string,
'tagIds' => int[],
"objectType": string (e.g. 'files'),
"objectIds": string[],
"tagIds": int[],
}
}
* OCP\\SystemTag\\TagUnassignedEvent
.. code-block:: text
array {
"user": array {"uid": string, "displayName": string},
"time": int,
"event": array{
"class": string,
"objectType": string (e.g. 'files'),
"objectIds": string[],
"tagIds": int[],
}
}