API endpoint to list the packages of a group
Problem to solve
The GitLab Package Registry allows developers to build and deploy Maven and NPM packages to a centralized GitLab Registry. As part of the Package Registry, GitLab offers an API for listing, fetching and deleting packages at the project level.
However, we do not currently offer any group level API for the Package Registry. This prevents users from being able to view dependencies across projects.
Intended users
Proposal
Create a new API endpoint that will allow users to list all packages of all projects within a given group in a single list.
Example
packages = Package.where(project_id: group.projects)
Endpoint will be
api/v4/groups/:id/packages
Permissions and Security
Developers, maintainers and owners, will all have the ability to view the list of packages at the group level.
Documentation
Testing
- Ensure that packages in private projects can not be seen by users that may be a part of the group, but not have access to that private project.
What does success look like, and how can we measure that?
Success looks like we allow users to view their group level registry from gitlab.com. We can measure early adoption using page views, which can be added to the Package group's dashboard.
What is the type of buyer?
This feature is focused on Premium users.