Skip to content
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

Share API documentation - mistake? #12583

Closed
tomtomas99911 opened this issue Nov 22, 2018 · 4 comments · Fixed by nextcloud/documentation#938
Closed

Share API documentation - mistake? #12583

tomtomas99911 opened this issue Nov 22, 2018 · 4 comments · Fixed by nextcloud/documentation#938

Comments

@tomtomas99911
Copy link

I want to use "publicUpload" how is defined in share API documentation https://docs.nextcloud.com/server/14/developer_manual/core/ocs-share-api.html

But there is defined that argument is boolean type but in code i can see that there is string type.

Code - ./apps/files_sharing/lib/Controller/ShareAPIController.php - line 367

Is it mistake in documentation or mistake in NX code?

@tomtomas99911 tomtomas99911 changed the title Share API documentation Share API documentation - mistake? Nov 22, 2018
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #4159 (Shared API ), #7350 (Improve OCS Share API documentation (share_type and permissions)), #3327 (Share tags), #676 (Search API), and #3923 (Preview API).

@violoncelloCH
Copy link
Member

cc @nextcloud/documentation

@schiessle
Copy link
Member

@tomtomas99911 yes, it should be a string which is either "true" or "false".

@schiessle
Copy link
Member

fix is here: nextcloud/documentation#938

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants