Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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?

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 10 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jeff.miles_5073
      last edited by

      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.

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @jeff.miles_5073
        last edited by

        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

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation