Simplify the Packages delete API by making namespace agnostic
Problem to solve
The Packages API allows you to view packages hosted in your project or group and delete packages from your project.
However, the delete API only works if you specify a project and package ID. Since package IDs are unique it would be much simpler for the user and the UI to consume.
Intended users
User experience goal
Sidney can use the API without having to look up the project ID
Proposal
Create a namespace agnostic delete API for GitLab Packages.
DELETE /packages/:package_id
Further details
Permissions and Security
Permissions should not be impacted because we will always check user permissions on the project, which is easily found via the package. Once we find the package by id, we can just check package.project.
Documentation
- Add a new topic to the Packages API