Comments (4)
When designing the CS3APIS we split the OCM sharing (called federated share) from internal sharing (cs3/sharing/collaboration).
Does it make sense?
from cs3apis.
the cs3 uses three separate sharing APIs:
- the LinkAPI is used for public links
- the CollaborationAPI is used for shares to users or groups on the same instance
- the OcmAPI is used for federated shares
At least that was the intention. It does create some friction an boilerplate, but I think keeping them separate does make sense.
from cs3apis.
Elaborating on @labkode's comment, cs3/ocm/core
exposes unprotected endpoints to which other providers can make requests to. For example, for a share created on Surfsara, the metadata would have to be persisted at CERNBox as well. This is the CreateOCMCoreShare
call
The cs3/sharing/ocm
API exposes endpoints which users belonging to a given provider will call to create an OCM share. This is the CreateOCMShare
call. This in turn calls CreateOCMCoreShare
on the recipient share provider.
The cs3/sharing/collaboration
API does not concern OCM and enables shares among local users.
from cs3apis.
Ah ok, thanks! Is there a documentation page about this somewhere? If not, let's create one.
So then maybe we can rename CreateOCMShare
to something like CreateOCM[Outgoing/Sent]Share
and
rename CreateOCMCoreShare
to something like CreateOCM[Incoming/Received]Share
?
The word 'Core' isn't very clear, I think.
from cs3apis.
Related Issues (20)
- Run language-specific builds in PRs without pushing to the corresponding repos
- Allow handling multiple checksums
- `*` in arbitrary _metadata_keys may need clarification
- Extend UserID/GroupID definition with type support
- Authentication methods for password protected link shares.
- Switch to protobuf golang bindings V2 HOT 2
- CI does not start - fix Drone build HOT 1
- Add Deny ACL
- Add an API to get server info
- Why don't all logged-in Request objects have a `token` field? HOT 7
- Where is the Dockerfile for cs3org/cs3apis? HOT 1
- Document point releases across bindings
- Permissions and Roles API HOT 11
- generate java stubs
- Possibility to truly (physically) delete files HOT 3
- Change `datatx.PullTransfer` to `datatx.CreateTransfer` HOT 3
- Follow-back in invite-accept response HOT 7
- Add "locktime" and "ownername" to cs3 lock api HOT 2
- Allow disabling versions on upload and add CreateFileVersion HOT 3
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 cs3apis.