Merge pull request #446 from owncloud/share_api_update

add expire date to share api documentation
This commit is contained in:
Morris Jobke
2014-07-24 13:46:28 +02:00

View File

@@ -113,11 +113,15 @@ Update a given share. Only one value can be updated per request.
* Method: PUT
* Arguments: share_id - (int) share ID
* PUT Arguments: permissions - (int) update permissions (see "Create share" above)
* PUT Arguments: permissions - (int) update permissions (see "Create share"
above)
* PUT Arguments: password - (string) updated password for public link Share
* PUT Arguments: publicUpload - (boolean) enable (true) /disable (false) public upload for public shares.
* PUT Arguments: publicUpload - (boolean) enable (true) /disable (false) public
upload for public shares.
* PUT Arguments: expireDate - (string) set a expire date for public link
shares. This argument expects a well formated date string, e.g. 'YYYY-MM-DD'
.. note:: Only one of "password" or "publicUpload" can be specified at once.
.. note:: Only one of the update parameters can be specified at once.
Statuscodes: