Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

API request to get latest image or chart?



  • I'm looking at building a dashboard for my platform that will compare currently deployed artifact versions (of container images and Helm charts) to what the latest version is stored in a specific feed in ProGet.

    Part of this idea would be making HTTP requests to ProGet API (or pgutil if necessary) with a specific container image name and feed (or chart name and feed) on demand. I had thought that I could use Notifier webhooks in ProGet to populate an external database for this purpose, or events at build time of the artifacts, but I'd rather not duplicate information that ProGet already maintains.

    Looking through the API documentation for ProGet, it doesn't seem like this is possible, so I'm looking for confirmation that this is true and I'm just not missing something; or where there are other utilities within ProGet for this function.


  • inedo-engineer

    Hi @jeff-miles_5073 ,

    You can get information about images and tags using the Docker API; we do not provide documentation on how to use that (see our caveat on Feed Endpoints). And unfortunately the Docker API is a bit awkward, but with enough ChatGPT you should be able to figure it out :)

    You could also query the database directly, perhaps building some kind of data export tool so that you can sync it with your dashboard.

    Hope that helps,
    Alana


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation