From 418c45d7501cdbdb5e3ad019937daf2a178c776a Mon Sep 17 00:00:00 2001 From: "Antoon P." Date: Tue, 28 Apr 2026 09:53:42 +0200 Subject: [PATCH] feat: Add OCM discovery and requests events. See https://github.com/nextcloud/server/pull/57853 Signed-off-by: Antoon P. --- .../app_upgrade_guide/upgrade_to_33.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst index d710efa0e88..7f354120d1c 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst @@ -180,7 +180,9 @@ The API related to these tables are now using a string instead of a int. See Cha Added Events ^^^^^^^^^^^^ -- TBD +- New ``OCP\OCM\Events\LocalOCMDiscoveryEvent`` event emitted before the API returns a local OCM provider. +- New ``OCP\OCM\Events\OCMEndpointRequestEvent`` event emitted on incoming OCM endpoint requests. + Added APIs ^^^^^^^^^^ @@ -205,6 +207,9 @@ Added APIs - ``ISynchronousWatermarkingProvider`` TaskProcessing provider interface was added to allow synchronous processing providers to react to the boolean includeWatermark flag +- New ``OCP\OCM\Events\LocalOCMDiscoveryEvent`` event. Catch this to register additional resources and/or capabilities at the local OCM provider before the provider is returned by the API. +- New ``OCP\OCM\Events\OCMEndpointRequestEvent`` event. Catch this event in order to manage the OCM request/capability. + Changed APIs ^^^^^^^^^^^^