Skip to content

Commit eb4be10

Browse files
committed
feat: Add OCM discovery and requests events.
See nextcloud/server#57853 Signed-off-by: Antoon P. <antoon.prins@surf.nl>
1 parent 1e3ec7a commit eb4be10

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎developer_manual/release_notes/previous/upgrade_to_33.rst‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ The API related to these tables are now using a string instead of a int. See Cha
180180
Added Events
181181
^^^^^^^^^^^^
182182

183-
- TBD
183+
- New ``OCP\OCM\Events\LocalOCMDiscoveryEvent`` event emitted before the API returns a local OCM provider.
184+
- New ``OCP\OCM\Events\OCMEndpointRequestEvent`` event emitted on incoming OCM endpoint requests.
185+
184186

185187
Added APIs
186188
^^^^^^^^^^
@@ -207,6 +209,9 @@ Added APIs
207209

208210
- Support for delegation-only section and settings have been added to the info.xml schema for applications. Only useful if your application needs to enable delegation of rights which are not related to a setting page. Known examples of that is user management and webhook registration. See :ref:`app metadata<app metadata>` for details.
209211

212+
- 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.
213+
- New ``OCP\OCM\Events\OCMEndpointRequestEvent`` event. Catch this event in order to manage the OCM request/capability.
214+
210215
Changed APIs
211216
^^^^^^^^^^^^
212217

0 commit comments

Comments
 (0)