Quay API v2 question - repos empty

29 views
Skip to first unread message

Dan Taler

unread,
Jan 19, 2024, 4:05:38 AM1/19/24
to quay-sig
Hey team,  (from RH internal)

Got an API question for our internal RH Dev env-  https://xxxx.redhat.com
Using Super account user.
I'm attempting to pull all images from all repos from existing orgs. My existing repos are empty via my UI access.

Using a super user account, trying to pull repos/images data via API.
APIv1 - works
APIv2 - doesn't work for me, following this - https://access.redhat.com/solutions/3625131

$ curl -L -H "Authorization: Basic dXNlcm5h...." 'https://xxxxxx.redhat.com/v2/auth?service=xxxxx.redhat.com'
{obtaining TOKEN}

$ curl -L '
https://xxxxx.redhat.com/v2/_catalog' -H 'Authorization: Bearer TOKEN'
{"error": "Invalid audience"}

Anything I'm missing here? I tried to define the scope in the first request, but repos are empty.

Thanks,
Dan
Reply all
Reply to author
Forward
0 new messages