expireDate also valid parameter in new share

This commit is contained in:
Johannes Endres 2020-01-23 22:25:41 +01:00 committed by John Molakvoæ (skjnldsv)
parent 090d703b02
commit db88a15fdb
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF

View File

@ -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