google / google/osv.dev

Use 'Enumerate Package Versions' request for NuGet version enumeration

Open
#1,932 2 comments 0 reactions 0 assignees View on GitHub
backlog enhancement
Dominant language
Go
Stars
2.9k
Forks
369
Avg merge
1d 17h
Merged PRs (30d)
149

Description

[Enumerate Package Versions](https://learn.microsoft.com/en-us/nuget/api/package-base-address-resource#enumerate-package-versions) returns just the array of the versions of a package, as opposed to the endpoint we currently use which lists all the package info (but can also return some batch thing for big queries).

e.g:
Current: https://api.nuget.org/v3/registration5-semver1/newtonsoft.json/index.json
New: https://api.nuget.org/v3-flatcontainer/newtonsoft.json/index.json

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.