Relates to #15838. When connected to oCIS, sharing a folder with the request {"path":"/remote.php/webdav/d","shareType":3,"permissions":4} fails with response
HTTP/1.1 400 Bad Request
Content-Length: 160
Content-Type: text/xml; charset=utf-8
Date: Tue, 16 Apr 2024 08:59:11 GMT
Ocs-Api-Version: 2
Vary: Origin
X-Request-Id: bf1ed42bf42f/8qs05uaikb-002006
<?xml version="1.0" encoding="UTF-8"?>
<ocs><meta><status>error</status><statuscode>400</statuscode><message>shareType must be an integer</message></meta></ocs>