Share API documentation - mistake?
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?
GitMate.io thinks possibly related issues are https://github.com/nextcloud/server/issues/4159 (Shared API ), https://github.com/nextcloud/server/issues/7350 (Improve OCS Share API documentation (share_type and permissions)), https://github.com/nextcloud/server/issues/3327 (Share tags), https://github.com/nextcloud/server/issues/676 (Search API), and https://github.com/nextcloud/server/issues/3923 (Preview API).
cc @nextcloud/documentation
@tomtomas99911 yes, it should be a string which is either "true" or "false".
fix is here: https://github.com/nextcloud/documentation/pull/938