Create dedicated GitLab API in docker registry
Problem
The existing registry API doesn't provide much flexibility and is lacking functionality like pagination. This creates difficulties for the GitLab backend to retrieve information efficiently.
For example, on issue #38047, we need to distinguish between package types by retrieving the tag manifesto, which registry 1+N queries to the registry, where N can't be known due to pagination and filtering issues (#38047 (comment 260670505)).
Proposal
Create a dedicated API to use at GitLab that provides the flexibility we need. This new API could be built using GraphQL.
TODOS
-
Investigate what GraphQL library to use (if we're going with GraphQL) -
Add API to list tags + manifesto