Hello,
I have around 6.9GB of artifacts (mainly old releases) that were pushed as “uploads” in a project on gitlab.com.
We are migrating to the better suited packages as I try to implement best practices, but I need to purge those files from the uploads
section which is not currently possible from the web interface as far as I know.
Question 1 : How to list all the files already uploaded using the project/:id/uploads
API ?
FYI, this is the command that was used :
curl --request POST --header "PRIVATE-TOKEN: <my-private-token>" --form "file=@<my-file-name>" "https://gitlab.com/api/v4/projects/<project-id>/uploads"
Question 2 : How to delete the files uploaded using the project/:id/uploads
API ?
I found the following page, but it doesn’t mention how to do it on gitlab.com , I’m not sure how to overcome this ?
Uploads administration | GitLab (only explains how to do it for gitlab on-prem)
Question 3 : would you know any workaround Q1 & Q2 ?
Thanks in advance for your help !