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!

    [ProGet] Feature Request: Enable creating 'Feed & Project Groups' using API and/or PGUtil

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 8 Views 1 Watching
    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.
    • N Offline
      Nils Nilsson
      last edited by

      Hello!

      I wish to be able to create new feed & project groups programatically so that it can be automated.

      My suggestion is that it's either
      a) Exposed as a new endpoint/command
      b) If a non-existent feed group is provided for an endpoint or a command, like /api/management/feeds/create https://docs.inedo.com/docs/proget/api/feeds/create it will create the feed group provided the token used has sufficient permissions.

      Currently scenario b will return code 400 with the message "Feed group <group> not found." and create an ungrouped feed.

      I tried to jack into the /administrations/feeds/feed-groups/edit endpoint used by the website but ended up just being redirected to the login page.

      Best Regards
      Nils Nilsson

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @Nils Nilsson
        last edited by

        Hi @Nils-Nilsson ,

        We'll implement something like Scenario B, which mirrors how the UI handles it and is the easiest to implement:

        pgutil feeds create --name=myfeed --type=NuGet --group=mygroup
        

        We'll also target this for July 24th's release, and ship via PG-3338.

        Thanks,
        Alana

        N 1 Reply Last reply Reply Quote 1
        • N Offline
          Nils Nilsson @atripp
          last edited by

          Hi @atripp

          That's great, thank you :)

          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