Skip to content

Commit

Permalink
document that LISTs with no results return 404 (#25989)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccapurso committed Mar 18, 2024
1 parent 1410d96 commit 1274f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/content/api-docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ warnings are generated during the operation.
requests.
- `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.
cases to avoid state leakage. LIST requests with no results will also return 404s.
- `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
Expand Down

0 comments on commit 1274f2d

Please sign in to comment.