Interaction scenarios
Document exchange between systems¶
Here is a short description of document exchange between systems:
- The source system uploads the blob (view API references).
- After the blob uploading, the input system publishes the document to the destination system (view API references).
- For document publishing, it is used urn:md:system:id-system-destination
- If the document has a parent folder, on publishing, the folder id is indicated as parent folder.
- The document will be published in the root if no folder id is indicated
- Also, the system can publish more documents into a folder, indicating the folder id as destination.
- The destination system is notified about the availability and id of the created document.
- The document publishing is done both for the owner of the document and for other identities.
Sharing documents between identities¶
The created documents can be shared with different permissions, so that the client must be able to share the document for one or more identities, provided that share cannot have higher permissions than document.
- The user will share a document, where from <= to and to > now (view API references).
- Having a previously reserved share (knowing its ID), a client will share a document using this reservation (view API references).
- The client will list the shares made for him (optionally, if authorized, for the specified principal parameter) ([cview API references).
- The client will list the shares made by him (optionally, if authorized, for the specified principal parameter) (view API references).