From ce92aaa37ca1624228ed282ee34b7d8e8d72a5f0 Mon Sep 17 00:00:00 2001 From: Giuseppe Lo Presti Date: Wed, 14 Feb 2024 16:42:04 +0100 Subject: [PATCH] Removed lock_id from InitiateFileUploadRequest --- cs3/storage/provider/v1beta1/provider_api.proto | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/cs3/storage/provider/v1beta1/provider_api.proto b/cs3/storage/provider/v1beta1/provider_api.proto index 8b02a7b7..ddfd3f8c 100644 --- a/cs3/storage/provider/v1beta1/provider_api.proto +++ b/cs3/storage/provider/v1beta1/provider_api.proto @@ -75,8 +75,9 @@ service ProviderAPI { // Initiates the download of a file using an // out-of-band data transfer mechanism. rpc InitiateFileDownload(InitiateFileDownloadRequest) returns (InitiateFileDownloadResponse); - // Initiates the upload of a file using an - // out-of-band data transfer mechanism. + // Initiates the upload of a file using an out-of-band + // data transfer mechanism. Locking MUST be handled by + // the data transfer protocol returned in response. rpc InitiateFileUpload(InitiateFileUploadRequest) returns (InitiateFileUploadResponse); // Returns the list of grants for the provided reference. // MUST return CODE_NOT_FOUND if the reference does not exists. @@ -369,10 +370,6 @@ message InitiateFileUploadRequest { // return CODE_FAILED_PRECONDITION. cs3.types.v1beta1.Timestamp if_unmodified_since = 6; } - // OPTIONAL. - // A lock_id: should the reference exist and be locked, the stored - // lock_id MUST be equal to the given value. - string lock_id = 5; } message InitiateFileUploadResponse {