Skip to content

Commit

Permalink
add status code 507 (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek authored Mar 24, 2021
1 parent d770b95 commit 4a26f4f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cs3/rpc/v1beta1/code.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
11 changes: 11 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3443,6 +3443,17 @@ <h3 id="cs3.rpc.v1beta1.Code">Code</h3>
Used in a Status reponse with a reference to the target URI.</p></td>
</tr>

<tr>
<td>CODE_INSUFFICIENT_STORAGE</td>
<td>19</td>
<td><p>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</p></td>
</tr>

</tbody>
</table>

Expand Down

0 comments on commit 4a26f4f

Please sign in to comment.