Get desktop application:
View/edit binary Protocol Buffers messages
OCM Core API (deprecated and to be removed, use cs3/ocm/incoming/v1beta1/incoming_api.proto instead) This API is the mapping for the local system of the Open Cloud Mesh (OCM) sharing protocol. Implementations are expected to expose the `/ocm` endpoints according to the OCM API, and in response to those endpoints call the following API. Support for multi-protocol shares is included, if the remote sender supplies a multi-protocol share. The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119. The following are global requirements that apply to all methods: Any method MUST return CODE_OK on a succesful operation. Any method MAY return NOT_IMPLEMENTED. Any method MAY return INTERNAL. Any method MAY return UNKNOWN. Any method MAY return UNAUTHENTICATED.
Used as request type in: gateway.v1beta1.GatewayAPI.CreateOCMCoreShare, OcmCoreAPI.CreateOCMCoreShare
OPTIONAL. Opaque information.
OPTIONAL. Description for the share.
REQUIRED. Name of the resource (file or folder).
REQUIRED. Identifier to identify the resource at the provider side. This is unique per provider.
REQUIRED. Provider specific identifier of the owner of the resource.
REQUIRED. Provider specific identifier of the user that wants to share the resource.
REQUIRED. Consumer specific identifier of the user or group the provider wants to share the resource with. This is known in advance, for example using the OCM invitation flow. Please note that the consumer service endpoint is known in advance as well, so this is no part of the request body. TODO: this field needs to represent either a user or group in the future, not only a user.
REQUIRED. Resource type.
REQUIRED. Recipient share type.
OPTIONAL. The expiration time for the OCM share.
REQUIRED. The protocols which are used to establish synchronisation, with their access rights. See also cs3/sharing/ocm/v1beta1/resources.proto for how to map this to the OCM share payload.
OPTIONAL. A nonce to be exchanged for a (potentially short-lived) bearer token.
Used as response type in: gateway.v1beta1.GatewayAPI.CreateOCMCoreShare, OcmCoreAPI.CreateOCMCoreShare
REQUIRED. The response status.
OPTIONAL. Opaque information.
REQUIRED. Unique ID to identify the share at the consumer side.
REQUIRED.
Used as request type in: gateway.v1beta1.GatewayAPI.DeleteOCMCoreShare, OcmCoreAPI.DeleteOCMCoreShare
REQUIRED. Unique ID to identify the share at the consumer side.
OPTIONAL. Opaque information.
Used as response type in: gateway.v1beta1.GatewayAPI.DeleteOCMCoreShare, OcmCoreAPI.DeleteOCMCoreShare
REQUIRED. The response status.
OPTIONAL. Opaque information.
Used as request type in: gateway.v1beta1.GatewayAPI.UpdateOCMCoreShare, OcmCoreAPI.UpdateOCMCoreShare
OPTIONAL. Opaque information.
REQUIRED. Unique ID to identify the share at the consumer side.
OPTIONAL. Description for the share.
OPTIONAL. Recipient share type.
OPTIONAL. The expiration time for the OCM share.
OPTIONAL. The protocols which are used to establish synchronisation, with their access rights.
Used as response type in: gateway.v1beta1.GatewayAPI.UpdateOCMCoreShare, OcmCoreAPI.UpdateOCMCoreShare
REQUIRED. The response status.
OPTIONAL. Opaque information.