As #54 introduced in the /shares endpoint the possibility of specifying multiple protocols, there is still no way of specifying the options per protocol, or at least is not clear.
This should be a map protocol -> options, for example
{
"webdav": {
"sharedSecret": "hfiuhworzwnur98d3wjiwhr",
"permissions": "{https://open-cloud-mesh.org/ns}share-permissions",
"uriTemplate": "[https://open-cloud-mesh.org/s/{path-to-shared-resources}](https://open-cloud-mesh.org/s/%7Bpath-to-shared-resources%7D)"
},
"other": {...}
}