Replies: 2 comments 2 replies
-
Issue is missing Type label, remember to add a Type label |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.GetPackageMetadataAsync
FindPackageByIdResource.GetAllVersionsAsync
Are there more ways for it I missed? And which is recommended? Thanks very much.
Beta Was this translation helpful? Give feedback.
All reactions