package cs3.sharing.collaboration.v1beta1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service CollaborationAPI

collaboration_api.proto:56

User Share Provider API The User Share Provider API is meant to manipulate share resources for a specific share type (user or group) from the perspective of the creator of the share and from the perspective of the recipient, both known to the local system. See OCM for remote shares. 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.

message CreateShareRequest

collaboration_api.proto:87

Used as request type in: gateway.v1beta1.GatewayAPI.CreateShare, CollaborationAPI.CreateShare

message CreateShareResponse

collaboration_api.proto:99

Used as response type in: gateway.v1beta1.GatewayAPI.CreateShare, CollaborationAPI.CreateShare

message Filter

resources.proto:184

Represents a filter to apply to the request.

Used in: ListReceivedSharesRequest, ListSharesRequest

enum Filter.Type

resources.proto:186

The filter to apply.

Used in: Filter

message GetReceivedShareRequest

collaboration_api.proto:287

Used as request type in: gateway.v1beta1.GatewayAPI.GetReceivedShare, CollaborationAPI.GetReceivedShare

message GetReceivedShareResponse

collaboration_api.proto:296

Used as response type in: gateway.v1beta1.GatewayAPI.GetReceivedShare, CollaborationAPI.GetReceivedShare

message GetShareRequest

collaboration_api.proto:206

Used as request type in: gateway.v1beta1.GatewayAPI.GetShare, CollaborationAPI.GetShare

message GetShareResponse

collaboration_api.proto:215

Used as response type in: gateway.v1beta1.GatewayAPI.GetShare, CollaborationAPI.GetShare

message ListReceivedSharesRequest

collaboration_api.proto:227

Used as request type in: gateway.v1beta1.GatewayAPI.ListExistingReceivedShares, gateway.v1beta1.GatewayAPI.ListReceivedShares, CollaborationAPI.ListReceivedShares

message ListReceivedSharesResponse

collaboration_api.proto:245

Used as response type in: gateway.v1beta1.GatewayAPI.ListReceivedShares, CollaborationAPI.ListReceivedShares

message ListSharesRequest

collaboration_api.proto:153

Used as request type in: gateway.v1beta1.GatewayAPI.ListExistingShares, gateway.v1beta1.GatewayAPI.ListShares, CollaborationAPI.ListShares

message ListSharesResponse

collaboration_api.proto:171

Used as response type in: gateway.v1beta1.GatewayAPI.ListShares, CollaborationAPI.ListShares

message ReceivedShare

resources.proto:89

A received share is the share that a grantee will receive. It expands the original share by adding state to the share, a display name from the perspective of the grantee and a resource mount point in case the share will be mounted in a storage provider.

Used in: gateway.v1beta1.ReceivedShareResourceInfo, GetReceivedShareResponse, ListReceivedSharesResponse, UpdateReceivedShareRequest, UpdateReceivedShareResponse

message RemoveShareRequest

collaboration_api.proto:188

Used as request type in: gateway.v1beta1.GatewayAPI.RemoveShare, CollaborationAPI.RemoveShare

message RemoveShareResponse

collaboration_api.proto:197

Used as response type in: gateway.v1beta1.GatewayAPI.RemoveShare, CollaborationAPI.RemoveShare

message Share

resources.proto:38

Shares are relationships between a resource owner (usually the authenticated user) who grants permissions to a recipient (grantee) on a specified resource (resource_id). UserShares represents both user and groups.

Used in: gateway.v1beta1.ShareResourceInfo, CreateShareResponse, GetShareResponse, ListSharesResponse, ReceivedShare, UpdateShareRequest, UpdateShareResponse

message ShareGrant

resources.proto:171

A share grant specifies the share permissions for a grantee.

Used in: CreateShareRequest

message ShareId

resources.proto:147

A share id identifies uniquely a // share in the share provider namespace. A ShareId MUST be unique inside the share provider.

Used in: Share, ShareReference

message ShareKey

resources.proto:136

Uniquely identifies a share in the share provider. A share MUST be uniquely identify by four (4) elements: 1) The share provider id 2) The owner of the share 3) The resource id 4) The grantee for the share This 4-tuple MUST be unique. For example, owner Alice shares the resource /home/docs with id home:1234 to an user named Bob. The 4-tuple will consist of 1) The share provider id = "user" 2) The owner of the share = "Alice" 3) The resource id = "home:1234" 4) The grantee for the share = Grantee("type" = "user", "" => "Bob")

Used in: ShareReference

message SharePermissions

resources.proto:79

The permissions for a share.

Used in: Share, ShareGrant, UpdateShareRequest.UpdateField

message ShareReference

resources.proto:157

The mechanism to identify a share in the share provider namespace.

Used in: GetReceivedShareRequest, GetShareRequest, RemoveShareRequest, UpdateShareRequest

enum ShareState

resources.proto:108

The state of the share.

Used in: Filter, ReceivedShare

message UpdateReceivedShareRequest

collaboration_api.proto:263

TODO(labkode): clean up display_name ? we'll use storage links for that.

Used as request type in: gateway.v1beta1.GatewayAPI.UpdateReceivedShare, CollaborationAPI.UpdateReceivedShare

message UpdateReceivedShareResponse

collaboration_api.proto:275

Used as response type in: gateway.v1beta1.GatewayAPI.UpdateReceivedShare, CollaborationAPI.UpdateReceivedShare

message UpdateShareRequest

collaboration_api.proto:111

Used as request type in: gateway.v1beta1.GatewayAPI.UpdateShare, CollaborationAPI.UpdateShare

message UpdateShareRequest.UpdateField

collaboration_api.proto:119

REQUIRED.

Used in: UpdateShareRequest

message UpdateShareResponse

collaboration_api.proto:141

Used as response type in: gateway.v1beta1.GatewayAPI.UpdateShare, CollaborationAPI.UpdateShare