| ocs_shares_extended | R Documentation |
ocs_shares_extended returns extended information for shares. ocs_shares
returns the shares of a file or folder, ocs_child_shares the shares of the files
and subfolders of the given path.
ocs_shares_extended(
req,
path = "",
as_df = TRUE,
columns = NULL,
subfiles = TRUE,
reshares = FALSE
)
ocs_child_shares(
req,
path = "",
as_df = TRUE,
columns = c("share_type", "item_type", "permissions", "label", "uid_owner",
"share_with_displayname")
)
ocs_shares(
req,
path = "/",
as_df = TRUE,
columns = c("share_type", "item_type", "permissions", "label", "uid_owner",
"share_with_displayname")
)
req |
WebDAV request as returned by |
path |
folder or file path |
as_df |
if TRUE (default) a data.frame is returned, else a list of IDs |
columns |
column names that should be included into the result (default |
subfiles |
list shares of subfolders |
reshares |
include shares from others |
data.frame or named vector of IDs
## Not run:
r <- wd_connect("https://example.com/remote.php/dav/files/johndoe")
ocs_shares_extended(r, "myfolder/shares")
ocs_shares(r, "myfolder/shares")
ocs_child_shares(r, "myfolder")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.