Get desktop application:
View/edit binary Protocol Buffers messages
OCM Incoming API The OCM Incoming API is used to persist in the local system the incoming remote shares that are sent via 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.CreateOCMIncomingShare, OcmIncomingAPI.CreateOCMIncomingShare
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. Deprecated: a resource might not always be a storage resource, use shared_resource_type instead.
REQUIRED. Recipient share type. Deprecated: use recipient_type instead.
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. Deprecated in OCM 1.3.
REQUIRED. Shared resource type.
REQUIRED. Recipient type, e.g. user or group.
Used as response type in: gateway.v1beta1.GatewayAPI.CreateOCMIncomingShare, OcmIncomingAPI.CreateOCMIncomingShare
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.DeleteOCMIncomingShare, OcmIncomingAPI.DeleteOCMIncomingShare
REQUIRED. Unique ID to identify the share at the consumer side.
OPTIONAL. Opaque information.
Used as response type in: gateway.v1beta1.GatewayAPI.DeleteOCMIncomingShare, OcmIncomingAPI.DeleteOCMIncomingShare
REQUIRED. The response status.
OPTIONAL. Opaque information.
Used as request type in: gateway.v1beta1.GatewayAPI.UpdateOCMIncomingShare, OcmIncomingAPI.UpdateOCMIncomingShare
OPTIONAL. Opaque information.
REQUIRED. Unique ID to identify the share at the consumer side.
OPTIONAL. Description for the share.
OPTIONAL. Recipient share type. Deprecated: use recipient_type instead.
OPTIONAL. The expiration time for the OCM share.
OPTIONAL. The protocols which are used to establish synchronisation, with their access rights.
OPTIONAL. Recipient type.
Used as response type in: gateway.v1beta1.GatewayAPI.UpdateOCMIncomingShare, OcmIncomingAPI.UpdateOCMIncomingShare
REQUIRED. The response status.
OPTIONAL. Opaque information.