mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
expireDate also valid parameter in new share
This commit is contained in:
committed by
John Molakvoæ (skjnldsv)
parent
090d703b02
commit
db88a15fdb
@@ -81,6 +81,8 @@ Share a file/folder with a user/group or as public link.
|
||||
* POST Arguments: password - (string) password to protect public link Share with
|
||||
* POST Arguments: permissions - (int) 1 = read; 2 = update; 4 = create; 8 = delete;
|
||||
16 = share; 31 = all (default: 31, for public shares: 1)
|
||||
* POST Arguments: expireDate - (string) set a expire date for public link
|
||||
shares. This argument expects a well formatted date string, e.g. 'YYYY-MM-DD'
|
||||
* Mandatory fields: shareType, path and shareWith for shareType 0 or 1.
|
||||
|
||||
* Result: XML containing the share ID (int) of the newly created share
|
||||
|
||||
Reference in New Issue
Block a user