Repository navigation
Replies: 2 comments 2 replies
|
Issue is missing Type label, remember to add a Type label |
0 replies
|
Those are the 2 ways, and the bottom line is depending on what information you want. Those 2 methods return different data, one returns a list of versions, the other one includes metadata such as whether a package is listed, whether a package is vulnerable etc, so it really depends on your scenario. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi there, I'm trying to get the latest package version of a package
Is there an API for this?
Found some ways as follows:
PackageMetadataResource.GetPackageMetadataAsyncFindPackageByIdResource.GetAllVersionsAsyncAre there more ways for it I missed? And which is recommended? Thanks very much.
All reactions