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?