I have installed harborI created a project that is not marked as PUBLIC.
I have a couple of questions.
a) Will the APIs only list the projects that are public or will it list both public and private projects.
b) I changed the settings on my project so that it is now a public project. I pushed a test image to it.
I wanted to see the list of tags for this image/repository using the API (curl -X GET "https://192.168.10.1/api/repositories/testimg/tags" -H "accept: application/json")
But I am getting code: 404, project not found error. I used the API explorer to see which APIs are available. And this was listed.
Could you pls let me know how to make the API list all projects (I added the login for authorization also in the API explorer but still not able to list private projects).
And also how to list the tags for the image. I am basically trying to check that after I pull the image, if there are any new updates in docker registry, then I should pull the latest version of the image.