mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
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:
commit
80e26e5a9d
@ -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[],
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user