Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add status code 507 #115

Merged
merged 2 commits into from
Mar 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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