-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
quay-v3.11.0
-
False
-
None
-
False
-
-
-
0
Description of problem:
When enable call API istRepos "GET /api/v1/repository", the namespace, starred or public query parameters are required.
$ curl -k -X GET -H "Content-Type: application/json" -H "Authorization: Bearer LO3RH2PMCHbxRxMh8H3wCQLLimu98BO6l3GpX6jm" https://quayregistry-quay-quay-enterprise.apps.whu415aw09.qe.devcluster.openshift.com/api/v1/repository % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 356 100 356 0 0 377 0 --:--:-- --:--:-- --:--:-- 377 { "detail": "namespace, starred or public are required for this API call", "error_message": "namespace, starred or public are required for this API call", "error_type": "invalid_request", "title": "invalid_request", "type": "https://quayregistry-quay-quay-enterprise.apps.whu415aw09.qe.devcluster.openshift.com/api/v1/error/invalid_request", "status": 400 }
But in the official document, these query parameters are optional. Should update them to required.