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!

Is the Proget supporting the connector to Nuget feed version 3?



  • Hi

    We are using nuget feed

    https://api.nuget.org/v3/index.json

    When I setup a connector to point to this url then I get the the error:

    "There was an error with a connector:
    Data at the root level,is invalid. Line1 position 1"

    the error is displayed when I am trying to access the feed that is using the connector with
    url as

    https://api.nuget.org/v3/index.json

    IS this url supported by ProGet?

    Thanks

    Regards

    Alberto

    Product: ProGet
    Version: 4.3.1



  • You will need to use http://nuget.org/api/v2 as the url instead.

    This works exactly the same way, and will work with .net core packages, etc.

    The so-called "v3 API endpoint" is undocumented and unsupported; it's only intended for use by the nuget.exe client, not private servers, and is entirely a speed optimization for the very special use case of nuget.org.



  • Hi Alana

    Do you plan to support it?

    Regards

    Alberto



  • At this time, the NuGet team has no plans to make the v3 API publicly consumable, and will support the v2 API indefinitely as the public API; as such, we have no intention to reverse engineer and attempt to implement a private API.

    Note this it is entirely a "behind the scenes" transport mechanism (JSON vs XML) and makes no difference at all from a usage perspective.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation