I am looking to fetch images that are available gcr using a gcloud API.
I have tried GET https://compute.googleapis.com/compute/v1/projects/myproject/global/images/myimage
but I wont get anything back.
If I remove remove /myimage
from the call above, I get some images back but not the images on the GCR as compute returns GCE images.
I found https://gcr.io/v2/myproject/myimage/tags/list
which does return the data I expect. But using this is not an option for me.
Is there an actual google API that returns something similar as the SDK gcloud container images describe gcr.io/myproject/myimage
or as https://gcr.io/v2/myproject/myimage/tags/list
?