Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Nuget API for package metadata does not list all the versions of a package

$
0
0

My goal is to get programmatically retrieve the publish date of each version of a NuGet package. However, NuGet API for package metadata seems not to hold information for all the versions of a package.

For example, https://api.nuget.org/v3-flatcontainer/htmlsanitizer/index.json lists 74 versions for the package htmlsanitizer, the latest being 5.0.376. This is in accordance with the official website. However, this endpoint does not list details for each version such as release date.

The endpoint that does list these details, https://api.nuget.org/v3/registration3/htmlsanitizer/index.json, lists only 63 versions, the latest being 5.0.274-beta. This API is documented here.

Why is this incompleteness in the later API endpoint? Is there any different API to retrieve details of each version of a package?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>