From b471eaaba91bac2da1a7772c8771695318dd41f3 Mon Sep 17 00:00:00 2001 From: Airat Arifullin Date: Thu, 15 Jun 2023 11:39:55 +0300 Subject: [PATCH] [#29] object: Extend Delete rpc specification * Add OBJECT_NOT_FOUND status specification Signed-off-by: Airat Arifullin a.arifullin@yadro.com --- object/service.proto | 3 +++ 1 file changed, 3 insertions(+) diff --git a/object/service.proto b/object/service.proto index 1d08ff5..fae833e 100644 --- a/object/service.proto +++ b/object/service.proto @@ -101,6 +101,9 @@ service ObjectService { // - Common failures (SECTION_FAILURE_COMMON); // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ // delete access to the object is denied; + // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ + // the object could not be deleted because it has not been \ + // found within the container; // - **LOCKED** (2050, SECTION_OBJECT): \ // deleting a locked object is prohibited; // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \