New API endpoint: GET a list of registry tags in a group

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Users wanting to have a complete overview of their container registry usage on a group level have to implement their own solution, usually involving at least 4 API calls:

  1. <group_id>/registry/repositories To get a list of container registry repositories in a group.
  2. projects/<project_id>/registry/repositories/ To get the list of container registry repositories in a project
  3. projects/<project_id>/registry/repositories/<repo_id>/tags To get a list of tags for given registry repository.

With these results, detailed information can be obtained from each tag with one extra call:

  1. projects/<project_id>/registry/repositories/<tag_id>/tags/<tag_name> to get information on each tag in a given namespace

It would help to have a single API call to do the work performed on calls 1-3, effectively returning all tags for any given namespace.

Problem to solve

Reduce the number of API calls necessary to get complete container registry image data on a given namespace.

Proposal

Introduce List registry repository tags -> Within a group: GET groups/<group_id>/registry/repositories/tags

Intended users

TBD

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖