ocs_create_share(
req,
path,
share_type,
share_with = NULL,
password = NULL,
permissions = 1,
public_upload = FALSE,
expire_date = NULL,
label = "",
note = "",
send_mail = FALSE,
attributes = NULL
)ocs_create_share_link(
req,
path,
password = NULL,
permissions = 1,
public_upload = FALSE,
expire_date = NULL,
note = "",
label = ""
)
ocs_create_share_mail(
req,
path,
email,
password = NULL,
permissions = 1,
public_upload = FALSE,
expire_date = NULL,
note = "",
label = "",
send_mail = TRUE
)
ocs_create_share_user(
req,
path,
user,
permissions = 1,
public_upload = FALSE,
expire_date = NULL,
note = "",
label = "",
send_mail = TRUE
)
ocs_create_share_group(
req,
path,
group,
permissions = 1,
public_upload = FALSE,
expire_date = NULL,
note = "",
label = "",
send_mail = TRUE
)
ocs_create_share_federated(
req,
path,
cloud_id,
permissions = 1,
public_upload = FALSE,
expire_date = NULL,
note = "",
label = "",
send_mail = TRUE
)