-
-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sharing folder fails with shareType must be an integer error response #15839
Closed
Tracked by
#15840
Labels
owncloud
ownCloud Server
Comments
Merged
3 tasks
Can you post the request also? |
@micbar Please find below a full request/response log
|
You are sending a json body. That is not working on ocs. With our new libregraph sharing api, everything will be better 😄 Valid OCS Requestcurl 'https://ocis.ocis-wopi.released.owncloud.works/ocs/v1.php/apps/files_sharing/api/v1/shares' \
-H 'accept: */*' \
-H 'accept-language: en' \
-H 'authorization: Bearer <access-token>' \
-H 'cache-control: no-cache' \
-H 'content-type: application/x-www-form-urlencoded' \
-H 'ocs-apirequest: true' \
--data-raw $'shareType=0&shareWith=moss&path=%2FNew+folder&permissions=17&role=viewer' |
Hopefully rather sooner than later as part of #14166. |
Will have to make sure there is no regression for #13478. |
In 39a2172. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Relates to #15838. When connected to oCIS, sharing a folder with the request
{"path":"/remote.php/webdav/d","shareType":3,"permissions":4}
fails with responseThe text was updated successfully, but these errors were encountered: