From 4a26f4fce2f80a6d12aafbcf6f6f58d77c1ea05f Mon Sep 17 00:00:00 2001 From: Willy Kloucek <34452982+wkloucek@users.noreply.github.com> Date: Wed, 24 Mar 2021 14:38:41 +0100 Subject: [PATCH] add status code 507 (#115) --- cs3/rpc/v1beta1/code.proto | 8 ++++++++ docs/index.html | 11 +++++++++++ 2 files changed, 19 insertions(+) diff --git a/cs3/rpc/v1beta1/code.proto b/cs3/rpc/v1beta1/code.proto index 2567c6c3..cfc503d7 100644 --- a/cs3/rpc/v1beta1/code.proto +++ b/cs3/rpc/v1beta1/code.proto @@ -183,4 +183,12 @@ enum Code { // Redirects the operation to another location. // Used in a Status reponse with a reference to the target URI. CODE_REDIRECTION = 18; + // + // The operation could not be performed because there is not enough + // storage available. This can be because of lack of real storage + // space or because of the exceeding of a quota associated to a + // storage. + // + // HTTP Mapping: 507 Insufficient Storage + CODE_INSUFFICIENT_STORAGE = 19; } diff --git a/docs/index.html b/docs/index.html index 47db8e25..0a218d2d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3443,6 +3443,17 @@
The operation could not be performed because there is not enough +storage available. This can be because of lack of real storage +space or because of the exceeding of a quota associated to a +storage. + +HTTP Mapping: 507 Insufficient Storage