summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authork8s-merge-robot <k8s.production.user@gmail.com>2015-11-30 17:21:52 -0800
committerk8s-merge-robot <k8s.production.user@gmail.com>2015-11-30 17:21:52 -0800
commite2203f9397af78f5fcac1e081375b1aa99e9f51f (patch)
tree9ca5b6ccd490e7101e9781e95c28f7c9b72b3a82
parent415901cde246d441b3d4b30935c9dadf9585a86a (diff)
parentb0542299ca51e3cbefd0c36b042a392ca407c098 (diff)
Merge pull request #16628 from caesarxuchao/change-error-type
Auto commit by PR queue bot
-rw-r--r--api-conventions.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/api-conventions.md b/api-conventions.md
index 43550903..cd64435a 100644
--- a/api-conventions.md
+++ b/api-conventions.md
@@ -558,6 +558,10 @@ The following HTTP status codes may be returned by the API.
* * If updating an existing resource:
* See `Conflict` from the `status` response section below on how to retrieve more information about the nature of the conflict.
* GET and compare the fields in the pre-existing object, merge changes (if still valid according to preconditions), and retry with the updated request (including `ResourceVersion`).
+* `410 StatusGone`
+ * Indicates that the item is no longer available at the server and no forwarding address is known.
+ * Suggested client recovery behavior
+ * Do not retry. Fix the request.
* `422 StatusUnprocessableEntity`
* Indicates that the requested create or update operation cannot be completed due to invalid data provided as part of the request.
* Suggested client recovery behavior