Document some missing http status codes. (#12472)

This commit is contained in:
Nick Cabatoff
2021-09-01 15:51:26 +02:00
committed by GitHub
parent 9e4a095c71
commit ee1fa729f9

View File

@@ -271,6 +271,12 @@ warnings are generated during the operation.
- `404` - Invalid path. This can both mean that the path truly doesn't exist or
that you don't have permission to view a specific path. We use 404 in some
cases to avoid state leakage.
- `405` - Unsupported operation. You tried to use a method inappropriate to
the request path, e.g. a POST on an endpoint that only accepts GETs.
- `412` - Precondition failed. Returned on Enterprise when a request can't be
processed yet due to some missing eventually consistent data. Should be retried,
perhaps with a little backoff.
See [Vault Eventual Consistency](/docs/enterprise/consistency).
- `429` - Default return code for health status of standby nodes. This will
likely change in the future.
- `473` - Default return code for health status of performance standby nodes.