Comments (6)
Yes, I think so. This is what I demonstrated at CS3 Barcelona, and Bjorn even came up with another example where this model fits nicely.
My apologies, I was not following the discussion around the protocol issues co closely. In that case the protocols
spec makes sense with protocol names (webdav
, webapp
, datatx
) as properties.
As a first step let's link to both versions, instead of only to the "develop" version, from our readme ^
Agreed
from ocm-api.
Completely agree! As a matter of fact, we could preserve protocol
and even pretend that we are backwards compatible, because the current specs just leave the protocol
payload completely undefined. And as discussed with the Nextcloud crowd (@schiessle and @smesterheide), the reality check showed different vendors being incompatible between each other, hence the need for more details.
IMHO we should still spell out the attributes each protocol
/ access method requires, whilst making it clear that the minimum requirement for an OCM-compliant implementation is not to have everything: a reasonable and required minimum would be resource type = file
, shareType
= user
, protocol
= webdav
. And all the rest is optional (though somehow in the specs).
from ocm-api.
Do we need more than one protocol at a time? I think the original definition was superior to having different protocols defined as properties. Can we use name as a discriminator?
from ocm-api.
Do we need more than one protocol at a time?
Yes, I think so. This is what I demonstrated at CS3 Barcelona, and Bjorn even came up with another example where this model fits nicely. Imagine you share a calendar event, and you want the recipient to access the event data via CalDAV (i.e. protocol
= webdav
), as well as connecting to some groupware tool such as Zoom, Nextcloud talk, etc. (i.e. protocol
= webapp
).
I think the original definition was superior to having different protocols defined as properties.
The original definition was just an object
, which does not offer any clue as of how implementations are supposed to encode the properties. No surprise that compatibility across different vendors was not ideal (e.g. only recently did Seafile announce compatibility with Nextcloud).
from ocm-api.
does not offer any clue
That's a separate issue, unrelated here I think.
only recently did Seafile
Also not relevant to this discussion, I think.
My own (simplistic) answer to this question would currently be:
If you want to do OCM over the internet, use "protocol"
If you want to do OCM over ScienceMesh Network Alpha, also use "protocol"
If you want to do OCM over ScienceMesh Network Beta, use "protocols"
If that is the current situation then the is what our docs should say.
So the information people need is currently (even if this is temporary) a combination of https://cs3org.github.io/OCM-API/docs.html?branch=v1.0.0&repo=OCM-API&user=cs3org and https://cs3org.github.io/OCM-API/docs.html?branch=develop&repo=OCM-API&user=cs3org
We are currently only pointing them to https://cs3org.github.io/OCM-API/docs.html?branch=develop&repo=OCM-API&user=cs3org so we are misinforming them.
from ocm-api.
As a first step let's link to both versions, instead of only to the "develop" version, from our readme ^
from ocm-api.
Related Issues (20)
- updating shares HOT 1
- Server alias HOT 1
- Does OCM-API have any roadmap or plans for future development? HOT 4
- Deployment: preview of changes in API in a web HOT 1
- Are notifications allowed to have side-effects? HOT 3
- Activate GitHub Pages feature on this repo HOT 4
- [chore] Staging area for open PRs HOT 1
- NewShare field 'permission' is required but not defined HOT 1
- Document meshProvider field in NewShare HOT 3
- Endpoint discovery through https://example.com/ocm-provider/ HOT 4
- Group-owned shares and invites to/from groups HOT 3
- RFE: make invitation workflow symmetric HOT 1
- Cannot specify options per protocol in create share endpoint
- Describe how "sharedSecret" may be used in WebDAV protocol HOT 3
- Do we want to support more than one protocol at a time? HOT 7
- Apply for funding to help develop Open Cloud Mesh within this community HOT 9
- Backwards compatibility HOT 5
- Document current translation that happens for webdav HOT 13
- support sub-shares? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocm-api.