Any plans for a more efficient metadata API?

Are there any plans for Docker Hub’s API to have a more efficient metadata API? For example, Microsoft ACR’s API has a GET /acr/v1/{name}/_manifests call that allows an orderby parameter so I can, for example, make a fewer number of calls to get the last N number of manifests that have been updated since the last time I called the API.

ref: Manifests - Get List - REST API (Azure Container Registry) | Microsoft Learn

Similarly, there is a GET /acr/v1/{name]/_manifests/{reference} call that allows me to get metadata about a manifest easily and efficiently.

ref: Manifests - Get Attributes - REST API (Azure Container Registry) | Microsoft Learn

With Docker (Hub)'s API, I don’t have an efficient way of listing tags and grabbing manifest metadata (like compressed image size and mediaType without getting rate-limited, which is quite frustrating when all I’m trying to do is get metadata and not pull image layers/blobs.

Good question. I’m going to try to get more info about that, but you can check the roadmap

And you can also ask for a new feature if you don’t find it. I couldn’t

Sorry, I didn’t have much time to get more info about this, but I checked the documentation and it is not what you was asking about, but it looks like new features were added to Docker Hub just about two days after your question new changes were added to the changelog in the documentation

Docker Hub API Changelog | Docker Docs.

But I still don’t know about other plans. There are some requests in the roadmap though.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.