Skip to content

Commit 9af4c7e

Browse files
committed
fix(webhook_listeners): Document Tag{Assigned,Unassigned}Event
instead of not-working MapperEvent Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 4492972 commit 9af4c7e

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

admin_manual/webhook_listeners/index.rst

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ This is an exhaustive list of available events. It features the event ID and the
662662
}
663663
}
664664
665-
* OCP\\SystemTag\\MapperEvent
665+
* OCP\\SystemTag\\TagAssignedEvent
666666

667667
.. code-block:: text
668668
@@ -671,9 +671,23 @@ This is an exhaustive list of available events. It features the event ID and the
671671
"time": int,
672672
"event": array{
673673
"class": string,
674-
'eventType' => 'OCP\SystemTag\ISystemTagObjectMapper::assignTags' | 'OCP\SystemTag\ISystemTagObjectMapper::unassignTags',
675-
'objectType' => string (e.g. 'files'),
676-
'objectId' => string,
677-
'tagIds' => int[],
674+
"objectType": string (e.g. 'files'),
675+
"objectIds": string[],
676+
"tagIds": int[],
677+
}
678+
}
679+
680+
* OCP\\SystemTag\\TagUnassignedEvent
681+
682+
.. code-block:: text
683+
684+
array {
685+
"user": array {"uid": string, "displayName": string},
686+
"time": int,
687+
"event": array{
688+
"class": string,
689+
"objectType": string (e.g. 'files'),
690+
"objectIds": string[],
691+
"tagIds": int[],
678692
}
679693
}

0 commit comments

Comments
 (0)