Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. Chris.Camburn_5718

    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!

    C Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    Chris.Camburn_5718

    @Chris.Camburn_5718

    0
    Reputation
    20
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Chris.Camburn_5718 Unfollow Follow

    Latest posts made by Chris.Camburn_5718

    • RE: NuGetPackages_SetListed api endpoint no longer working

      @jjones

      Thanks for the update. In the meantime, especially if this is going to be a while before a fix is introduced, is there a supported workaround? Perhaps using the stored procedure in the database?

      Thanks,
      Chris

      posted in Support
      C
      Chris.Camburn_5718
    • NuGetPackages_SetListed api endpoint no longer working

      In the last few versions of ProGet, I have been unable to use the NuGetPackages_SetListed api endpoint. The below is an example call in PowerShell:

      $feed_Id = 5
      $package_Id = 'Package.Id.Hidden'
      $package_Version = '0.1.0.12-rc'
      $listedIndicator = 'false'
      $unlistUri = "$baseUri/api/json/NuGetPackages_SetListed?Feed_Id=$($feed_Id)&Package_Id=$($package_Id)&Version_Text=$($package_Version)&Listed_Indicator=$($listedIndicator)"
      Write-Output $unlistUri
      $r = Invoke-WebRequest -Uri $unlistUri -Method Post -Headers $reqheaders -UseBasicParsing
      

      Running the above (with appropriate headers and access) previously unlisted or listed a package, but it no longer works. It returns a 200 with no content, which is expected, but the package remains in it's previous state. I confirmed in the web ui and the database that the package is still listed.

      posted in Support proget api
      C
      Chris.Camburn_5718