You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "stevenzwu (via GitHub)" <gi...@apache.org> on 2026/03/26 21:00:53 UTC
Re: [PR] Spec: Add 404 response for config endpoint [iceberg]
stevenzwu commented on code in PR #15746:
URL: https://github.com/apache/iceberg/pull/15746#discussion_r2997643966
##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -162,6 +162,8 @@ paths:
$ref: '#/components/responses/UnauthorizedResponse'
403:
$ref: '#/components/responses/ForbiddenResponse'
+ 404:
+ $ref: '#/components/responses/NoSuchWarehouseResponse'
Review Comment:
I also think 404 may not be the best fit, as it generally indicates that the endpoint itself could not be found. The endpoint receiving the query parameters does exist, and a lack of results is a valid outcome of the search/filter operation, not a client error in forming the request URI.
Maybe return 204 No Content as the request itself was valid and successfully processed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org