Packages API - allow List packages by CI token
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Proposal
It'd be great if Package API calls List packages and Delete package from CI job could be authenticated using $CI_JOB_TOKEN the same way as Publish package file. It'd allow running basic Package registry housekeeping tasks as CI jobs without the need for creating PAT in every project.
## list packages
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" "$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages"
delete package
See #337707 (closed)
Edited by 🤖 GitLab Bot 🤖