diff --git a/cs3/gateway/v1beta1/resources.proto b/cs3/gateway/v1beta1/resources.proto index a10ed69e..2cf2edba 100644 --- a/cs3/gateway/v1beta1/resources.proto +++ b/cs3/gateway/v1beta1/resources.proto @@ -28,7 +28,6 @@ option java_package = "com.cs3.gateway.v1beta1"; option objc_class_prefix = "CGX"; option php_namespace = "Cs3\\Gateway\\V1Beta1"; -import "cs3/rpc/v1beta1/status.proto"; import "cs3/storage/provider/v1beta1/resources.proto"; import "cs3/types/v1beta1/types.proto"; diff --git a/cs3/ocm/invite/v1beta1/resources.proto b/cs3/ocm/invite/v1beta1/resources.proto index dbe282c0..398f470b 100644 --- a/cs3/ocm/invite/v1beta1/resources.proto +++ b/cs3/ocm/invite/v1beta1/resources.proto @@ -29,7 +29,6 @@ option objc_class_prefix = "COI"; option php_namespace = "Cs3\\Ocm\\Invite\\V1Beta1"; import "cs3/identity/user/v1beta1/resources.proto"; -import "cs3/storage/provider/v1beta1/resources.proto"; import "cs3/types/v1beta1/types.proto"; // InviteToken is used to invite users and groups from other sync'n'share diff --git a/cs3/storage/registry/v1beta1/registry_api.proto b/cs3/storage/registry/v1beta1/registry_api.proto index d743b05b..db918765 100644 --- a/cs3/storage/registry/v1beta1/registry_api.proto +++ b/cs3/storage/registry/v1beta1/registry_api.proto @@ -53,7 +53,7 @@ service RegistryAPI { // Returns the storage provider that is reponsible for the given // resource reference. // MUST return CODE_NOT_FOUND if the reference does not exist. - rpc GetStorageProvider(GetStorageProviderRequest) returns (GetStorageProviderResponse); + rpc GetStorageProviders(GetStorageProvidersRequest) returns (GetStorageProvidersResponse); // Returns a list of the available storage providers known by this registry. rpc ListStorageProviders(ListStorageProvidersRequest) returns (ListStorageProvidersResponse); // Gets the user home storage provider. @@ -81,7 +81,7 @@ message GetHomeResponse { cs3.storage.registry.v1beta1.ProviderInfo provider = 3; } -message GetStorageProviderRequest { +message GetStorageProvidersRequest { // OPTIONAL. // Opaque information. cs3.types.v1beta1.Opaque opaque = 1; @@ -90,7 +90,7 @@ message GetStorageProviderRequest { cs3.storage.provider.v1beta1.Reference ref = 2; } -message GetStorageProviderResponse { +message GetStorageProvidersResponse { // REQUIRED. // The response status. cs3.rpc.v1beta1.Status status = 1; @@ -98,8 +98,8 @@ message GetStorageProviderResponse { // Opaque information. cs3.types.v1beta1.Opaque opaque = 2; // REQUIRED. - // The storage provider handling the requested storage resource. - cs3.storage.registry.v1beta1.ProviderInfo provider = 3; + // The storage providers handling the requested storage resource. + repeated cs3.storage.registry.v1beta1.ProviderInfo providers = 3; } message ListStorageProvidersRequest { diff --git a/docs/index.html b/docs/index.html index d082755c..47db8e25 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1635,11 +1635,11 @@
REQUIRED. -The storage provider handling the requested storage resource.
Returns the storage provider that is reponsible for the given resource reference. MUST return CODE_NOT_FOUND if the reference does not exist.