I removed the 404 error from /container-images as it is best practice to return 200 on an empty query to a list of data. 404 would indicate that the actual resource does not exist. Resource can be interpreted as either the api endpoint or the table of container images. In both cases the response should still be 200 as the route completed successfully without error, just that there was notting to return.
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/thoth-station/user-api/blob/master/OWNERS)~~ [goern]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
Related Issues and Dependencies
fixes https://github.com/thoth-station/thamos/issues/1184
This introduces a breaking change
This Pull Request implements
removed 404 error for container images
Description
I removed the 404 error from
/container-images
as it is best practice to return 200 on an empty query to a list of data. 404 would indicate that the actual resource does not exist. Resource can be interpreted as either the api endpoint or the table of container images. In both cases the response should still be 200 as the route completed successfully without error, just that there was notting to return.