Merge pull request #13668 from nextcloud/fix/admin/webhooks-systemtags-typed-events

fix(webhook_listeners): Document Tag{Assigned,Unassigned}Event
This commit is contained in:
Marcel Klehr 2025-09-16 19:18:21 +02:00 committed by GitHub
commit 80e26e5a9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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[],
}
}