Docker Community Forums

Share and learn in the Docker community.

Docker registry API v2 endpoint

dockerhub
docker

#1

Hi,

We are two people who are working with a school project about the Docker registry API. We want to filter out a subset of different types of images (whether it belongs to an official, a verified/certified, or a community image). We managed to do API calls to get all the official images using the Docker registry API v2:

/v2/search/repositories/?query=library&is_official=true

However, we tried to do the same with both community and verified/certified images and it does not seem to work. Is there any way, a parameter that needs to be set, to get these images?

Cheers,
Jonathan


(Neglectos) #2

Did you try
https://store.docker.com/api/content/v1/products/search?q=%2B&source=community&type=image&page=1&page_size=100


#3

Thank you @neglectos
Yea, there is also a V1 of Docker Hub API that we did not know about until now :slight_smile: