package cs3.sharing.link.v1beta1

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

service LinkAPI

link_api.proto:57

PublicShare Provider API The Public Share Provider API is meant to manipulate public shares also called public links. Access to public shares can be limitted by a password. The share provider must store this password in a secure manner e.g. hashed with the bcrypt algorithm. 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 CreatePublicShareRequest

link_api.proto:82

Used as request type in: gateway.v1beta1.GatewayAPI.CreatePublicShare, LinkAPI.CreatePublicShare

message CreatePublicShareResponse

link_api.proto:108

Used as response type in: gateway.v1beta1.GatewayAPI.CreatePublicShare, LinkAPI.CreatePublicShare

message GetPublicShareByTokenRequest

link_api.proto:276

Used as request type in: gateway.v1beta1.GatewayAPI.GetPublicShareByToken, LinkAPI.GetPublicShareByToken

message GetPublicShareByTokenResponse

link_api.proto:291

Used as response type in: gateway.v1beta1.GatewayAPI.GetPublicShareByToken, LinkAPI.GetPublicShareByToken

message GetPublicShareRequest

link_api.proto:252

Used as request type in: gateway.v1beta1.GatewayAPI.GetPublicShare, LinkAPI.GetPublicShare

message GetPublicShareResponse

link_api.proto:264

Used as response type in: gateway.v1beta1.GatewayAPI.GetPublicShare, LinkAPI.GetPublicShare

message Grant

resources.proto:161

Defines the restrictions for the public share.

Used in: CreatePublicShareRequest, UpdatePublicShareRequest.Update

message ListPublicSharesRequest

link_api.proto:179

Used as request type in: gateway.v1beta1.GatewayAPI.ListExistingPublicShares, gateway.v1beta1.GatewayAPI.ListPublicShares, LinkAPI.ListPublicShares

message ListPublicSharesRequest.Filter

link_api.proto:185

REQUIRED. represents a filter to apply to the request.

Used in: ListPublicSharesRequest

enum ListPublicSharesRequest.Filter.Type

link_api.proto:187

REQUIRED.

Used in: Filter

message ListPublicSharesResponse

link_api.proto:217

Used as response type in: gateway.v1beta1.GatewayAPI.ListPublicShares, LinkAPI.ListPublicShares

message PublicShare

resources.proto:42

Public share 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. TODO(labkode): do we need to have resource_type stored on the share? This is not needed if when getting the shares a stat operation is launched against the the storage provider.

Used in: gateway.v1beta1.PublicShareResourceInfo, CreatePublicShareResponse, GetPublicShareByTokenResponse, GetPublicShareResponse, ListPublicSharesResponse, UpdatePublicShareResponse

message PublicShareAuthentication

resources.proto:140

The mechanism to authenticate a request to GetPublicShareByToken.

Used in: GetPublicShareByTokenRequest

message PublicShareId

resources.proto:117

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

Used in: PublicShare, PublicShareReference

message PublicSharePermissions

resources.proto:110

The permissions for a share.

Used in: Grant, PublicShare

message PublicShareReference

resources.proto:127

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

Used in: GetPublicShareRequest, RemovePublicShareRequest, UpdatePublicShareRequest

message RemovePublicShareRequest

link_api.proto:234

Used as request type in: gateway.v1beta1.GatewayAPI.RemovePublicShare, LinkAPI.RemovePublicShare

message RemovePublicShareResponse

link_api.proto:243

Used as response type in: gateway.v1beta1.GatewayAPI.RemovePublicShare, LinkAPI.RemovePublicShare

message ShareSignature

resources.proto:151

A time constrained token which can be used to authenticate link share requests.

Used in: PublicShare, PublicShareAuthentication

message UpdatePublicShareRequest

link_api.proto:120

Used as request type in: gateway.v1beta1.GatewayAPI.UpdatePublicShare, LinkAPI.UpdatePublicShare

message UpdatePublicShareRequest.Update

link_api.proto:132

REQUIRED.

Used in: UpdatePublicShareRequest

enum UpdatePublicShareRequest.Update.Type

link_api.proto:134

REQUIRED.

Used in: Update

message UpdatePublicShareResponse

link_api.proto:167

Used as response type in: gateway.v1beta1.GatewayAPI.UpdatePublicShare, LinkAPI.UpdatePublicShare