Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GetAllListedVersions API #13570

Open
WeihanLi opened this issue Jun 23, 2024 · 3 comments
Open

Support GetAllListedVersions API #13570

WeihanLi opened this issue Jun 23, 2024 · 3 comments
Labels
Area:Protocol Client/Server protocol /code around it Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Type:Feature

Comments

@WeihanLi
Copy link

WeihanLi commented Jun 23, 2024

NuGet Product(s) Involved
NuGet SDK

The Elevator Pitch

Using FindPackageByIdResource.GetAllVersionsAsync you can retrieve all versions of a package, which includes listed and unlisted versions.

Though we could use PackageMetadataResource.GetMetadata for unlist versions while it returns more information than versions, considering performance, I may prefer the FindPackageByIdResource.GetAllVersionsAsync API

Is it possible to support includeListedOnly/includedNonPrereleaseOnly filter for the FindPackageByIdResource.GetAllVersionsAsync, thanks very much

          The metadata API would not more info than versions, considering for performance, is it possible to support a parameter like `excludeUnlistedPackages` for the `GetAllVersions` API?

Originally posted by @WeihanLi in #12370 (comment)

@WeihanLi
Copy link
Author

should add a Type:Feature label

@zivkan zivkan added Type:Feature Area:Protocol Client/Server protocol /code around it and removed missing-required-type The required type label is missing. labels Jun 23, 2024
@zivkan
Copy link
Member

zivkan commented Jun 23, 2024

When creating an issue, please use one of our templates, rather than creating a blank issue.

@WeihanLi
Copy link
Author

@zivkan thanks for the help, I tried to open issue with Reference in a new issue, would use the template next time, thanks

@jebriede jebriede added the Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:Protocol Client/Server protocol /code around it Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Type:Feature
Projects
None yet
Development

No branches or pull requests

3 participants