From f9c520fb596c116a5fc37ffb53f63b4f20900fee Mon Sep 17 00:00:00 2001 From: Giuseppe Lo Presti Date: Thu, 15 Feb 2024 09:15:54 +0100 Subject: [PATCH] Reinstated lock_id and added comments for clarification --- cs3/storage/provider/v1beta1/provider_api.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cs3/storage/provider/v1beta1/provider_api.proto b/cs3/storage/provider/v1beta1/provider_api.proto index ddfd3f8..9d906d5 100644 --- a/cs3/storage/provider/v1beta1/provider_api.proto +++ b/cs3/storage/provider/v1beta1/provider_api.proto @@ -370,6 +370,11 @@ 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 SHOULD be equal to the given value. Additionally, the + // check MUST be enforced by the out-of-band transfer protocol. + string lock_id = 5; } message InitiateFileUploadResponse {