-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
quay-v3.10.0
-
False
-
None
-
False
-
Documentation (Ref Guide, User Guide, etc.)
-
-
-
0
Hello,
The sample command from chapter "13.6.4.2. Using the API to view quota usage" from "Manage redhat Quay" [1] in Quay 3.10 documentation has an additional "quota" parameter which is not part of the source code for the API.
Source code :
as per current documentation:
curl -k -X GET -H "Authorization: Bearer <token>" -H 'Content-Type: application/json' 'https://example-registry-quay-quay-enterprise.apps.docs.gcp.quaydev.org/api/v1/repository?last_modified=true&namespace=testorg&popularity=true&public=true"a=true' | jq
required modification [remove ""a=true" from above command] :
curl -k -X GET -H "Authorization: Bearer <token>" -H 'Content-Type: application/json' 'https://example-registry-quay-quay-enterprise.apps.docs.gcp.quaydev.org/api/v1/repository?last_modified=true&namespace=testorg&popularity=true&public=true' | jq
Can be verified with chapter "2.15.2. listRepos" from "Red Hat Quay API Guide"[2] as "quota" isn't a valid parameter.
Resources:
Let us know, if any additional information is required.
Regards,
Rachitha