invantive documentation
Invantive Support ForumsLog In / Sign Up

RecommendedShareeRemotes: Nextcloud Nextcloud Recommended Sharee Remotes

read only REST

  • Catalog: Nextcloud
  • Schema: Nextcloud
  • Label: Nextcloud Recommended Sharee Remotes

Can only retrieve data.

Summary

Users of a federated server the platform recommends as sharees, one row per remote user - a table function of item_type rather than a bulk table, per RecommendedSharees. Answers correctly shaped but empty on a fixture with no federation configured.

API Source

  • Endpoint: /ocs/v2.php/apps/files_sharing/api/v1/sharees_recommended?format=json&itemType={item_type}

Performance Characteristics

Characteristic Value
Average access latency (ms) 306
Full scan rows per minute 18,900

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
item_type varchar2 What the result will be shared onto, such as file.

Table Columns

The columns of the table RecommendedShareeRemotes are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
label varchar2 itgen_ncl_label filters on the platform, writable, label Display text of the search result.
remote_name varchar2 itgen_ncl_remote_name filters on the platform, writable, name Display name of the remote user.
remote_type varchar2 itgen_ncl_remote_type filters on the platform, writable, type Kind of remote entry.
server varchar2 itgen_ncl_server filters on the platform, writable, value.server Federated server the remote user belongs to.
share_type int32 itgen_ncl_share_type filters on the platform, writable, value.shareType Numeric share type this entry would be shared with, such as 0 for a user or 1 for a group.
share_with varchar2 itgen_ncl_share_with filters on the platform, writable, value.shareWith Identifier to pass as share_with when creating a share through Shares.
uuid varchar2 itgen_ncl_uuid filters on the platform, writable, uuid Identifier of the remote user.