mirror of
https://github.com/nextcloud/documentation.git
synced 2025-07-21 23:46:31 +00:00
fix(developer): add missing description for registerContentProvider method
Signed-off-by: Edward Ly <contact@edward.ly>
This commit is contained in:
@ -72,7 +72,7 @@ To add content and register your provider implementation you will need to use th
|
||||
The ``IContentManager`` class has the following methods:
|
||||
|
||||
* ``isContextChatAvailable()``: Returns ``true`` if the Context Chat app is enabled, ``false`` otherwise.
|
||||
* ``registerContentProvider(string $providerClass)``
|
||||
* ``registerContentProvider(string $providerClass)``: Register a new content provider.
|
||||
* ``submitContent(string $appId, array $items)``: Providers can use this to submit content for indexing in Context Chat.
|
||||
* ``updateAccess(string $appId, string $providerId, string $itemId, string $op, array $userIds)``: Update the access rights for a content item. Use ``\OCP\ContextChat\Type\UpdateAccessOp`` constants for the ``$op`` value.
|
||||
* ``updateAccessProvider(string $appId, string $providerId, string $op, array $userIds)``: Update the access rights for all content items from a provider. Use ``\OCP\ContextChat\Type\UpdateAccessOp`` constants for the ``$op`` value.
|
||||
|
Reference in New Issue
Block a user