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

Cannot specify options per protocol in create share endpoint #56

Closed
gmgigi96 opened this issue Jan 16, 2023 · 0 comments · Fixed by #57
Closed

Cannot specify options per protocol in create share endpoint #56

gmgigi96 opened this issue Jan 16, 2023 · 0 comments · Fixed by #57

Comments

@gmgigi96
Copy link
Member

gmgigi96 commented Jan 16, 2023

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": {...}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant