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.