Last active
May 20, 2016 04:17
-
-
Save ynott/3134e5ef0072258a8da0 to your computer and use it in GitHub Desktop.
コマンドラインからownCloud上のフォルダーを共有設定する方法について ref: http://qiita.com/ynott/items/afca4b4cf9905710f5e2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl "https://<owncloud_host>/ocs/v1.php/apps/files_sharing/api/v1/shares" -l -k -u <ID>:<PW> -X POST --data-urlencode "path=<DocumentPath>" --data-urlencode "shareWith=<ShareWith>" --data "shareType=<ShareType>&permissions=<Permission>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment