Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. toni.wenzel
    3. Topics

    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!

    toni.wenzelT Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 3
    • Groups 0

    Topics

    • toni.wenzelT

      Delete docker image

      Watching Ignoring Scheduled Pinned Locked Moved Support docker api
      2
      0 Votes
      2 Posts
      5 Views
      atrippA
      Hello, The Docker API is supposed to only support based bearer authentication, but in previous versions (v5) it also worked with Basic auth. There's a sample script on this page that shows how you can authenticate: https://docs.inedo.com/docs/proget-docker-semantic-versioning Cheers, Alana
    • toni.wenzelT

      Set (docker) repository description via API

      Watching Ignoring Scheduled Pinned Locked Moved Support
      2
      0 Votes
      2 Posts
      8 Views
      rhessingerR
      Hi @toni-wenzel_6045, Currently, the only way to set the description would be to do it using the UI or the Native API. In order to set it using the Native API, you would need to do the following: First, Get the Docker Repository ID by making a GET request to <Base URL>/api/json/DockerImages_GetRepositoryByName?key=<API Key>&Feed_Id=<Feed_ID>&Repository_Name=<Repository Name> This will return a list of images (should only be 1 in the list) and you will need to get the DockerRepository_Id from each item. Then, you will need to POST a JSON object to <Base URL>/api/json/DockerImages_CreateOrUpdateRepository. The JSON object you would post would be: { "API_Key" : "<API Key>", "Feed_Id": "<Feed Id>", "DockerRepository_Id": "<ID from previous request>", "Repository_Name": "<Repository Name>", "RepositoryIcon_Url": "<Icon_URL>", "ShortDescription_Text": "<Short Description>", "FullDescription_Text": "<Full description (Readme.md)>" } Please note that you will need to populate all of the values. For example, if you do not populate the RepositoryIcon_Url, the value will be cleared. Thanks, Rich
    • 1 / 1