invantive documentation
Invantive Support ForumsLog In / Sign Up

ShareeUsers: Nextcloud Nextcloud Sharee Users

read only REST

  • Catalog: Nextcloud
  • Schema: Nextcloud
  • Label: Nextcloud Sharee Users

Can only retrieve data.

Summary

Users a sharee search matches, one row per user - a table function of search and item_type rather than a bulk table, per Sharees. Sharing with the account itself is excluded by the platform.

API Source

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

Performance Characteristics

Characteristic Value
Average access latency (ms) 305
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.
search varchar2 Text to search for.

Table Columns

The columns of the table ShareeUsers 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
icon varchar2 itgen_ncl_icon filters on the platform, writable, icon CSS icon class shown beside the entry.
label varchar2 itgen_ncl_label filters on the platform, writable, label Display text of the search result.
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.
share_with_display_name_unique varchar2 itgen_ncl_share_with_display_name_unique filters on the platform, writable, shareWithDisplayNameUnique Display name disambiguated where two users would otherwise show identically.
status_clear_at int64 itgen_ncl_status_clear_at filters on the platform, writable, status.clearAt Epoch second the status clears at; null where it does not expire.
status_icon varchar2 itgen_ncl_status_icon filters on the platform, writable, status.icon Emoji icon of the status.
status_message varchar2 itgen_ncl_status_message filters on the platform, writable, status.message Free-text status message.
status_status varchar2 itgen_ncl_status_status filters on the platform, writable, status.status User status, such as online or away; blank where the user status app answers nothing.
subline varchar2 itgen_ncl_subline filters on the platform, writable, subline Secondary text shown beneath the label, such as an email address.