package cs3.storage.provider.v1beta1

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

service ProviderAPI

provider_api.proto:49

Storage Provider API The Storage Provider API is meant to manipulate storage resources in the underlying storage system behind the service. 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.

service SpacesAPI

spaces_api.proto:52

Spaces API The Spaces API is meant to manipulate spaces in the service. 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 ArbitraryMetadata

resources.proto:158

Arbitrary metadata than can be set to the resource.

Used in: ResourceInfo, SetArbitraryMetadataRequest

message CanonicalMetadata

resources.proto:147

CanonicalMetadata contains extra metadata attached to a resource. This message and the Opaque message differ in that Opaque allows service implementors to include any extra metadata in any format and most clients will ignore it. However, the CanonicalMetadata message contains well defined fileds that clients MUST understand if they are specified.

Used in: ResourceInfo

message CreateContainerRequest

provider_api.proto:264

Used as request type in: gateway.v1beta1.GatewayAPI.CreateContainer, ProviderAPI.CreateContainer

message CreateContainerResponse

provider_api.proto:273

Used as response type in: gateway.v1beta1.GatewayAPI.CreateContainer, ProviderAPI.CreateContainer

message CreateHomeRequest

provider_api.proto:1106

Used as request type in: gateway.v1beta1.GatewayAPI.CreateHome, ProviderAPI.CreateHome

message CreateHomeResponse

provider_api.proto:1114

Used as response type in: gateway.v1beta1.GatewayAPI.CreateHome, ProviderAPI.CreateHome

message CreateStorageSpaceRequest

spaces_api.proto:63

Used as request type in: gateway.v1beta1.GatewayAPI.CreateStorageSpace, SpacesAPI.CreateStorageSpace

message CreateStorageSpaceResponse

spaces_api.proto:78

Used as response type in: gateway.v1beta1.GatewayAPI.CreateStorageSpace, SpacesAPI.CreateStorageSpace

message CreateSymlinkRequest

provider_api.proto:883

Used as request type in: gateway.v1beta1.GatewayAPI.CreateSymlink, ProviderAPI.CreateSymlink

message CreateSymlinkResponse

provider_api.proto:896

Used as response type in: gateway.v1beta1.GatewayAPI.CreateSymlink, ProviderAPI.CreateSymlink

message DeleteRequest

provider_api.proto:305

Used as request type in: gateway.v1beta1.GatewayAPI.Delete, ProviderAPI.Delete

message DeleteResponse

provider_api.proto:318

Used as response type in: gateway.v1beta1.GatewayAPI.Delete, ProviderAPI.Delete

message DeleteStorageSpaceRequest

spaces_api.proto:188

Used as request type in: gateway.v1beta1.GatewayAPI.DeleteStorageSpace, SpacesAPI.DeleteStorageSpace

message DeleteStorageSpaceResponse

spaces_api.proto:196

Used as response type in: gateway.v1beta1.GatewayAPI.DeleteStorageSpace, SpacesAPI.DeleteStorageSpace

message FileDownloadProtocol

resources.proto:490

A file download protocol object stores information about downloading resources using a specific protocol.

Used in: InitiateFileDownloadResponse

message FileUploadProtocol

resources.proto:463

A file upload protocol object stores information about uploading resources using a specific protocol.

Used in: InitiateFileUploadResponse

message FileVersion

resources.proto:418

The information for a file version. TODO(labkode): make size and mtime OPTIONAL?

Used in: ListFileVersionsResponse

message GetHomeRequest

provider_api.proto:191

Used as request type in: gateway.v1beta1.GatewayAPI.GetHome, ProviderAPI.GetHome

message GetHomeResponse

provider_api.proto:197

Used as response type in: gateway.v1beta1.GatewayAPI.GetHome, ProviderAPI.GetHome

message GetLockRequest

provider_api.proto:1002

Used as request type in: gateway.v1beta1.GatewayAPI.GetLock, ProviderAPI.GetLock

message GetLockResponse

provider_api.proto:1011

Used as response type in: gateway.v1beta1.GatewayAPI.GetLock, ProviderAPI.GetLock

message GetPathRequest

provider_api.proto:327

Used as request type in: gateway.v1beta1.GatewayAPI.GetPath, ProviderAPI.GetPath

message GetPathResponse

provider_api.proto:336

Used as response type in: gateway.v1beta1.GatewayAPI.GetPath, ProviderAPI.GetPath

message GetQuotaResponse

provider_api.proto:357

Used as response type in: gateway.v1beta1.GatewayAPI.GetQuota, ProviderAPI.GetQuota

message Grant

resources.proto:373

A grant grants permissions to a resource to a grantee.

Used in: AddGrantRequest, ListGrantsResponse, RemoveGrantRequest, UpdateGrantRequest

message Grantee

resources.proto:389

A grantee is the receiver of a grant.

Used in: sharing.collaboration.v1beta1.Filter, sharing.collaboration.v1beta1.Share, sharing.collaboration.v1beta1.ShareGrant, sharing.collaboration.v1beta1.ShareKey, sharing.ocm.v1beta1.CreateOCMShareRequest, sharing.ocm.v1beta1.ReceivedShare, sharing.ocm.v1beta1.Share, sharing.ocm.v1beta1.ShareKey, DenyGrantRequest, Grant, tx.v1beta1.TxInfo

enum GranteeType

resources.proto:408

The type of the grantee.

Used in: sharing.collaboration.v1beta1.Filter, Grantee

message InitiateFileDownloadRequest

provider_api.proto:417

Used as request type in: gateway.v1beta1.GatewayAPI.InitiateFileDownload, ProviderAPI.InitiateFileDownload

message InitiateFileUploadRequest

provider_api.proto:372

Used as request type in: gateway.v1beta1.GatewayAPI.InitiateFileUpload, ProviderAPI.InitiateFileUpload

message ListContainerRequest

provider_api.proto:520

Used as request type in: gateway.v1beta1.GatewayAPI.ListContainer, ProviderAPI.ListContainer

message ListContainerResponse

provider_api.proto:546

Used as response type in: gateway.v1beta1.GatewayAPI.ListContainer, ProviderAPI.ListContainer

message ListContainerStreamRequest

provider_api.proto:477

Used as request type in: gateway.v1beta1.GatewayAPI.ListContainerStream, ProviderAPI.ListContainerStream

message ListContainerStreamResponse

provider_api.proto:503

Used as response type in: gateway.v1beta1.GatewayAPI.ListContainerStream, ProviderAPI.ListContainerStream

message ListFileVersionsRequest

provider_api.proto:563

Used as request type in: gateway.v1beta1.GatewayAPI.ListFileVersions, ProviderAPI.ListFileVersions

message ListFileVersionsResponse

provider_api.proto:581

Used as response type in: gateway.v1beta1.GatewayAPI.ListFileVersions, ProviderAPI.ListFileVersions

message ListRecycleRequest

provider_api.proto:598

Used as request type in: gateway.v1beta1.GatewayAPI.ListRecycle, ProviderAPI.ListRecycle

message ListRecycleResponse

provider_api.proto:630

Used as response type in: gateway.v1beta1.GatewayAPI.ListRecycle, ProviderAPI.ListRecycle

message ListRecycleStreamRequest

provider_api.proto:647

Used as request type in: gateway.v1beta1.GatewayAPI.ListRecycleStream, ProviderAPI.ListRecycleStream

message ListRecycleStreamResponse

provider_api.proto:679

Used as response type in: gateway.v1beta1.GatewayAPI.ListRecycleStream, ProviderAPI.ListRecycleStream

message ListStorageSpacesRequest

spaces_api.proto:90

Used as request type in: gateway.v1beta1.GatewayAPI.ListStorageSpaces, SpacesAPI.ListStorageSpaces

message ListStorageSpacesRequest.Filter

spaces_api.proto:95

Represents a filter to apply to the request.

Used in: ListStorageSpacesRequest

enum ListStorageSpacesRequest.Filter.Type

spaces_api.proto:97

The filter to apply.

Used in: Filter

message ListStorageSpacesResponse

spaces_api.proto:134

Used as response type in: gateway.v1beta1.GatewayAPI.ListStorageSpaces, SpacesAPI.ListStorageSpaces

message Lock

resources.proto:184

The metadata associated with a lock on a resource. Provided that storage drivers are free to implement the storage of this metadata according to their constraints, a reference implementation is given here. The lock SHOULD be stored as an extended attribute on the referenced filesystem entry. Such extended attribute MUST NOT be exposed via the `Stat` and `SetArbitraryMetadata` APIs. Instead, the `ResourceInfo.Lock` attribute MUST be populated if a lock exists for the given reference.

Used in: GetLockResponse, RefreshLockRequest, ResourceInfo, SetLockRequest, UnlockRequest

enum LockType

resources.proto:163

The available type of locks for a resource.

Used in: Lock

message MoveRequest

provider_api.proto:696

Used as request type in: gateway.v1beta1.GatewayAPI.Move, ProviderAPI.Move

message MoveResponse

provider_api.proto:712

Used as response type in: gateway.v1beta1.GatewayAPI.Move, ProviderAPI.Move

message PurgeRecycleRequest

provider_api.proto:721

Used as request type in: gateway.v1beta1.GatewayAPI.PurgeRecycle, ProviderAPI.PurgeRecycle

message PurgeRecycleResponse

provider_api.proto:733

Used as response type in: gateway.v1beta1.GatewayAPI.PurgeRecycle, ProviderAPI.PurgeRecycle

message Quota

resources.proto:557

Represents a quota for a storage space.

Used in: CreateHomeRequest, CreateStorageSpaceRequest, StorageSpace, UpdateStorageSpaceRequest.UpdateField

message RecycleItem

resources.proto:439

A recycle item represents the information of a deleted resource.

Used in: ListRecycleResponse, ListRecycleStreamResponse

message Reference

resources.proto:288

The mechanism to identify a resource in the CS3 namespace. It can represent path based, id based and combined references: The storage registry uses the storage_id to determine the responsible storage provider. When the storage_id is not available it will use the path. In a URL the different components can be represented in a string using the following layout: <storage_id>!<node_id>:<path>

Used in: gateway.v1beta1.GetQuotaRequest, gateway.v1beta1.OpenInAppRequest, labels.v1beta1.AddLabelRequest, labels.v1beta1.ListResourcesForLabelResponse, labels.v1beta1.RemoveLabelRequest, permissions.v1beta1.CheckPermissionRequest, sharing.collaboration.v1beta1.ReceivedShare, AddGrantRequest, CanonicalMetadata, CreateContainerRequest, CreateReferenceRequest, CreateSymlinkRequest, DeleteRequest, DenyGrantRequest, GetLockRequest, GetQuotaRequest, InitiateFileDownloadRequest, InitiateFileUploadRequest, ListContainerRequest, ListContainerStreamRequest, ListFileVersionsRequest, ListGrantsRequest, ListRecycleRequest, ListRecycleStreamRequest, MoveRequest, PurgeRecycleRequest, RecycleItem, RefreshLockRequest, RemoveGrantRequest, RestoreFileVersionRequest, RestoreRecycleItemRequest, SetArbitraryMetadataRequest, SetImmutableRequest, SetLockRequest, StatRequest, TouchFileRequest, UnlockRequest, UnsetArbitraryMetadataRequest, UnsetImmutableRequest, UpdateGrantRequest, registry.v1beta1.GetStorageProvidersRequest

message RefreshLockRequest

provider_api.proto:1023

Used as request type in: gateway.v1beta1.GatewayAPI.RefreshLock, ProviderAPI.RefreshLock

message RefreshLockResponse

provider_api.proto:1040

Used as response type in: gateway.v1beta1.GatewayAPI.RefreshLock, ProviderAPI.RefreshLock

message ResourceChecksum

resources.proto:258

The checksum to verify the integrity of a resource.

Used in: ResourceInfo

message ResourceChecksumPriority

resources.proto:277

When negotiating the user of checksum types between client and server, this structure defines the priority of the checksum. Priority 0 means highest priority.

Used in: gateway.v1beta1.FileUploadProtocol, FileUploadProtocol

enum ResourceChecksumType

resources.proto:244

The type of checksum to use.

Used in: ResourceChecksum, ResourceChecksumPriority

message ResourceId

resources.proto:301

A resource id uniquely identifies a resource in the storage provider namespace. A ResourceId MUST be unique in the storage provider.

Used in: sharing.collaboration.v1beta1.Filter, sharing.collaboration.v1beta1.Share, sharing.collaboration.v1beta1.ShareKey, sharing.link.v1beta1.ListPublicSharesRequest.Filter, sharing.link.v1beta1.PublicShare, sharing.ocm.v1beta1.CreateOCMShareRequest, sharing.ocm.v1beta1.ListOCMSharesRequest.Filter, sharing.ocm.v1beta1.Share, sharing.ocm.v1beta1.ShareKey, GetPathRequest, Reference, ResourceInfo, StorageSpace

message ResourceInfo

resources.proto:37

Represents the information (metadata) about a storage resource organized in a hierarchical namespace (file, directory/container, reference, symlink, ...).

Used in: app.provider.v1beta1.OpenInAppRequest, app.registry.v1beta1.GetAppProvidersRequest, gateway.v1beta1.OCMShareResourceInfo, gateway.v1beta1.PublicShareResourceInfo, gateway.v1beta1.ReceivedShareResourceInfo, gateway.v1beta1.ShareResourceInfo, sharing.collaboration.v1beta1.CreateShareRequest, sharing.link.v1beta1.CreatePublicShareRequest, ListContainerResponse, ListContainerStreamResponse, StatResponse, StorageSpace

message ResourcePermissions

resources.proto:319

The representation of permissions attached to a resource.

Used in: sharing.collaboration.v1beta1.SharePermissions, sharing.link.v1beta1.PublicSharePermissions, sharing.ocm.v1beta1.SharePermissions, sharing.ocm.v1beta1.WebDAVAccessMethod, sharing.ocm.v1beta1.WebDAVProtocol, sharing.ocm.v1beta1.WebappAccessMethod, sharing.ocm.v1beta1.WebappProtocol, Grant, ResourceInfo, StorageSpace

enum ResourceType

resources.proto:208

The available types of resources.

Used in: ocm.core.v1beta1.CreateOCMCoreShareRequest, ocm.incoming.v1beta1.CreateOCMIncomingShareRequest, sharing.ocm.v1beta1.ReceivedShare, RecycleItem, ResourceInfo

message RestoreFileVersionRequest

provider_api.proto:742

Used as request type in: gateway.v1beta1.GatewayAPI.RestoreFileVersion, ProviderAPI.RestoreFileVersion

message RestoreFileVersionResponse

provider_api.proto:758

Used as response type in: gateway.v1beta1.GatewayAPI.RestoreFileVersion, ProviderAPI.RestoreFileVersion

message RestoreRecycleItemRequest

provider_api.proto:768

TODO: restore to original location if not specified as OPTIONAL?

Used as request type in: gateway.v1beta1.GatewayAPI.RestoreRecycleItem, ProviderAPI.RestoreRecycleItem

message RestoreRecycleItemResponse

provider_api.proto:791

Used as response type in: gateway.v1beta1.GatewayAPI.RestoreRecycleItem, ProviderAPI.RestoreRecycleItem

message SetArbitraryMetadataRequest

provider_api.proto:926

Used as request type in: gateway.v1beta1.GatewayAPI.SetArbitraryMetadata, ProviderAPI.SetArbitraryMetadata

message SetArbitraryMetadataResponse

provider_api.proto:944

Used as response type in: gateway.v1beta1.GatewayAPI.SetArbitraryMetadata, ProviderAPI.SetArbitraryMetadata

message SetImmutableRequest

provider_api.proto:1070

Used as request type in: gateway.v1beta1.GatewayAPI.SetImmutable, ProviderAPI.SetImmutable

message SetImmutableResponse

provider_api.proto:1079

Used as response type in: gateway.v1beta1.GatewayAPI.SetImmutable, ProviderAPI.SetImmutable

message SetLockRequest

provider_api.proto:980

Used as request type in: gateway.v1beta1.GatewayAPI.SetLock, ProviderAPI.SetLock

message SetLockResponse

provider_api.proto:993

Used as response type in: gateway.v1beta1.GatewayAPI.SetLock, ProviderAPI.SetLock

message SpaceMetadata

spaces_api.proto:205

Used in: UpdateStorageSpaceRequest.UpdateField

enum SpaceMetadata.Type

spaces_api.proto:207

Type of metadata entry

Used in: SpaceMetadata

message StatRequest

provider_api.proto:827

Used as request type in: gateway.v1beta1.GatewayAPI.Stat, ProviderAPI.Stat

message StatResponse

provider_api.proto:844

Used as response type in: gateway.v1beta1.GatewayAPI.Stat, ProviderAPI.Stat

message StorageSpace

resources.proto:508

Represents a storage space which could be a 'home', 'share' etc...

Used in: CreateStorageSpaceResponse, ListStorageSpacesResponse, ResourceInfo, UpdateStorageSpaceRequest, UpdateStorageSpaceResponse

message StorageSpaceId

resources.proto:550

The id of a storage space.

Used in: DeleteStorageSpaceRequest, ListStorageSpacesRequest.Filter, StorageSpace

message TouchFileRequest

provider_api.proto:282

Used as request type in: gateway.v1beta1.GatewayAPI.TouchFile, ProviderAPI.TouchFile

message TouchFileResponse

provider_api.proto:296

Used as response type in: gateway.v1beta1.GatewayAPI.TouchFile, ProviderAPI.TouchFile

message UnlockRequest

provider_api.proto:1049

Used as request type in: gateway.v1beta1.GatewayAPI.Unlock, ProviderAPI.Unlock

message UnlockResponse

provider_api.proto:1061

Used as response type in: gateway.v1beta1.GatewayAPI.Unlock, ProviderAPI.Unlock

message UnsetArbitraryMetadataRequest

provider_api.proto:953

Used as request type in: gateway.v1beta1.GatewayAPI.UnsetArbitraryMetadata, ProviderAPI.UnsetArbitraryMetadata

message UnsetArbitraryMetadataResponse

provider_api.proto:971

Used as response type in: gateway.v1beta1.GatewayAPI.UnsetArbitraryMetadata, ProviderAPI.UnsetArbitraryMetadata

message UnsetImmutableRequest

provider_api.proto:1088

Used as request type in: gateway.v1beta1.GatewayAPI.UnsetImmutable, ProviderAPI.UnsetImmutable

message UnsetImmutableResponse

provider_api.proto:1097

Used as response type in: gateway.v1beta1.GatewayAPI.UnsetImmutable, ProviderAPI.UnsetImmutable

message UpdateStorageSpaceRequest

spaces_api.proto:150

Used as request type in: gateway.v1beta1.GatewayAPI.UpdateStorageSpace, SpacesAPI.UpdateStorageSpace

message UpdateStorageSpaceRequest.UpdateField

spaces_api.proto:157

REQUIRED.

Used in: UpdateStorageSpaceRequest

message UpdateStorageSpaceResponse

spaces_api.proto:176

Used as response type in: gateway.v1beta1.GatewayAPI.UpdateStorageSpace, SpacesAPI.UpdateStorageSpace